[python-win32] Modify only the first line of a big file (Roughly 1.5MB - For thousands of file).

Khalid Moulfi farplagek at gmail.com
Sun May 3 11:56:12 CEST 2009


Hi all,

I have thousands of file and I must update only the first line.
My concern is : is it possible to read only the first line for each of these
files and update the first line only without reading the file completely ?

Version of Python is 2.2.1

Thanks for any help,

KM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090503/5a5e85d7/attachment.htm>


More information about the python-win32 mailing list