Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: Check if the file is closed

Python: Check if the file is closed
{filelink=16395}

f = open("c:/Here.mp3", "rb")
print f.closed    # False
f.close()         # close the file
print f.name
print f.closed     #true

Users who found this page were searching for:

  • java create mdi frame
  • how to use subroutines in swing java code
  • java elapsed time
  • idn convert ascii
  • python loop over file

No comments yet.

Leave a Comment