By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,632 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

when will the file be closed

P: n/a
Hello,

The question is above: when will these file be closed?

for s in file('/etc/passwd'):
print s

file('/home/mage/test.txt','w').write('foo')

Mage
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.