appending to top of file
ktb
x.y.f at home.com
Sun Dec 31 21:09:23 EST 2000
Hi, I'm new to python. Just installed it and read through some
of the docs. My question is, can I append lines to the
beginning of a file as opposed to the end? I have a web log
that I would like to write to the file I pull in with php. I'm
running Linux and python version 1.5.2. I searched though some
of the back archives but didn't have any luck.
Thanks,
kent
--
"In order to make an apple pie from scratch,
you must first create the universe."
- Carl Sagan
More information about the Python-list
mailing list