Ask a question to get started
Enter to sendā¢Shift+Enter new line
close( self, ) -> None
Close the file if it's open.
This method is safe to call multiple times and will only close the file if it's currently open.