Skip to content
alexz-enwp edited this page Dec 31, 2014 · 1 revision

wikifile.py is a module that contains a class for working with files (images) on wikis.

Objects

wikifile.py defines 1 object

File

The File object is a subclass of Page with a few additional functions specific to files. See page.Page and wikifile.File for complete documentation and examples.

Exceptions

wikifile.py defines 2 exceptions

FileDimensionError

FileDimensionError is a subclass of wiki.WikiError and is raised if invalid dimensions are specified when downloading a file.

UploadError

UploadError is a subclass of wiki.WikiError and is raised when invalid options are passed to the File.upload() function.

Clone this wiki locally