as title, I confused will fd will be close after exception automatically?
Like:
try:
fd=open("file","w+")
fd.get() //any useless function of fd
except Exception:
print 'hi'
--
https://mail.python.org/mailman/listinfo/python-list
as title, I confused will fd will be close after exception automatically?
Like:
try:
fd=open("file","w+")
fd.get() //any useless function of fd
except Exception:
print 'hi'
--
https://mail.python.org/mailman/listinfo/python-list