Name : TextFile
| |
Version : 1996.2.29
| Vendor : Red Hat, Inc_
|
Release : 1
| Date : 2000-07-21 18:52:43
|
Group : Development/Languages
| Source RPM : TextFile-1996.2.29-1.src.rpm
|
Size : 0.00 MB
| |
Packager : Red Hat, Inc_ < http://bugzilla_redhat_com/bugzilla>
| |
Summary : A 2 mode python text file module.
|
Description :
This module defines a class TextFile whose instances can be accessed like normal file objects (i.e. by calling readline(), readlines(), and write()), but can also be accessed as sequence objects via indexing. Note that in that case the whole file will be stored in memory. Note also that the two access modes should not be mixed.
The class TextFile also handles compression transparently, i.e. it is possible to read lines from a compressed text file as if it were not compressed. Compression is deduced from the file name suffixes \'.Z\' (compress/uncompress) and \'.gz\' (gzip/gunzip).
Finally, TextFile objects accept file names that start with \'~\' or \'~user\' to indicate a home directory.
|
RPM found in directory: /vol/rzm6/linux-redhat/linux/7.0/en/DMA/Python/i386 |