Subject: Re: output file from variable
From: Yong Li <gilbertly gmail.com>
Date: Sat, 31 Dec 2011 10:28:09 +0900
References: 391849
In-reply-to: 391849
Beside what Peter has described, one more hint: you probably need to
close your file before calling the rename method.
You can close your file by calling x.close