Name
close
Synopsis
f
.close( )
Closes the file. You can call no other method on
f
after
f
.close
. Multiple calls
to f
.close
are allowed
and innocuous.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.