Closing a File : Close : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Close »

 

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()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Close