core.files.File.open()

open(mode=None) [source]

Open or reopen the file (which also does File.seek(0)). The mode argument allows the same values as Python’s built-in open().

When reopening a file, mode will override whatever mode the file was originally opened with; None means to reopen with the original mode.

doc_Django
2016-10-09 18:34:43
Comments
Leave a Comment

Please login to continue.