Python File close() Method – How to close a file in Python?
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