Home | Trees | Indices | Help |
---|
|
object --+ | bz2.BZ2File --+ | BZ2File
Wrapper with lock
|
|||
file object |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
size | |||
Inherited from Inherited from |
|
Open a bz2 file. The mode can be 'r' or 'w', for reading (default) or writing. When opened for writing, the file will be created if it doesn't exist, and truncated otherwise. If the buffering argument is given, 0 means unbuffered, and larger numbers specify the buffer size. If compresslevel is given, must be a number between 1 and 9. Add a 'U' to mode to open the file for input with universal newline support. Any line ending in the input file will be seen as a ' ' in Python. Also, a file so opened gains the attribute 'newlines'; the value for this attribute is one of None (no newline read yet), ' ', ' ', ' ' or a tuple containing all the newline types seen. Universal newlines are available only when reading.
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Apr 2 13:31:40 2013 | http://epydoc.sourceforge.net |