|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, fd) |
| def | write (self, data) |
| def | close (self) |
Public Member Functions inherited from Sha1Writer | |
| def | __init__ (self) |
| def | sha (self, as_hex=False) |
Data Fields | |
| fd | |
| zip | |
Data Fields inherited from Sha1Writer | |
| sha1 | |
Static Public Attributes | |
| exc | |
Digests data written to it, making the sha available, then compress the data and write it to the file descriptor **Note:** operates on raw file descriptors **Note:** for this to work, you have to use the close-method of this instance
| def __init__ | ( | self, | |
| fd | |||
| ) |
| def close | ( | self | ) |
| def write | ( | self, | |
| data | |||
| ) |
:raise IOError: If not all bytes could be written :return: length of incoming data
Reimplemented from Sha1Writer.
|
static |
| fd |
| zip |