Name : textlines
| |
Version : 1.0
| Vendor : Red Hat, Inc_
|
Release : 1
| Date : 2000-07-21 19:00:33
|
Group : Development/Languages
| Source RPM : textlines-1.0-1.src.rpm
|
Size : 0.00 MB
| |
Packager : Red Hat, Inc_ < http://bugzilla_redhat_com/bugzilla>
| |
Summary : A a python module that is a read-on-demand substitute for file.readlines()
|
Description :
Use textlines(file) instead of file.readlines() when it\'s not possible or desirable to read the entire file into memory at once. For example: for line in textlines(file): ... is computationally equivalent to for line in file.readlines(): ... but only reads one line at a time into memory.
The argument to textlines can also be a pathname -- that is, textlines(pathname) is equivalent to textlines(open(pathname)).
|
RPM found in directory: /mirror/vol4/ftp.freshrpms.net/pub/freshrpms/pub/updates/redhat-7.0-DMA-i386 |