Mega Code Archive
Categories
/
Python Tutorial
/
File
Closing a File
f = open("/a.mp3", "rb") print f.closed f.close() print f print f.closed f.seek(0) print f.tell() print f.read() f.close()