Close a file : File Close « File « Python






Close a file

f=open('/tmp/workfile', 'w')


f.close()
           
       








Related examples in the same category

1.Closing Files
2.Close a file after using