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 -- http://mail.python.org/mailman/listinfo/python-list
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 -- http://mail.python.org/mailman/listinfo/python-list