-
Notifications
You must be signed in to change notification settings - Fork 51
wikifile
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.
wikifile.py defines 1 object
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.
wikifile.py defines 2 exceptions
FileDimensionError is a subclass of wiki.WikiError and is raised if invalid dimensions are specified when downloading a file.
UploadError is a subclass of wiki.WikiError and is raised when invalid options are passed to the File.upload() function.