[Tutor] How to open the closed file again?

朱淳 zhuchunml at gmail.com
Tue Jan 5 13:46:15 CET 2010

I've token a dictionary to save filenames, and write it into "constant.py".
And I think it's a good method to create a class as Andre wrote.  Thank you
By the way, if I close a open file object, will the closed file object still
occupy the memory ? As I saw in a list, this kind of unusable file object
wasn't cleaned by GC. What will happen if there's no list?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100105/59b8fc04/attachment.htm>

More information about the Tutor mailing list