Python File close() Method – How to close a file in Python?

in python •  3 years ago 

The close() method’s syntax is as follows:

file.close()

close() is a Python file method that closes an opened file.

#python #python3 #programming #programmer #codeparttime #programmingconcept

Python File close() Method - How to close a file in Python - Image.png

https://codeparttime.com/python-file-close-method/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!