OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, fileobj, mode) |
def | init (self) |
def | read (self, size) |
def | seek (self, pos) |
def | tell (self) |
def | write (self, data) |
def | close (self) |
Data Fields | |
fileobj | |
mode | |
name | |
pos | |
bz2obj | |
buf | |
Static Public Attributes | |
blocksize | |
Small proxy class that enables external file object support for "r:bz2" and "w:bz2" modes. This is actually a workaround for a limitation in bz2 module's BZ2File class which (unlike gzip.GzipFile) has no support for a file object argument.
def __init__ | ( | self, | |
fileobj, | |||
mode | |||
) |
def close | ( | self | ) |
def init | ( | self | ) |
def read | ( | self, | |
size | |||
) |
def seek | ( | self, | |
pos | |||
) |
def tell | ( | self | ) |
def write | ( | self, | |
data | |||
) |
|
static |
buf |
bz2obj |
fileobj |
mode |
name |
pos |