close()
[source]
Close the file.
In addition to the listed methods, File
exposes the following attributes and methods of its file
object: encoding
, fileno
, flush
, isatty
, newlines
, read
, readinto
, readlines
, seek
, softspace
, tell
, truncate
, writelines
, xreadlines
. If you are using Python 3, the seekable
method is also available.
Changed in Django 1.9:
The seekable
method was added.
Please login to continue.