delete first line in a file

Fredrik Lundh fredrik at
Fri Jun 30 13:30:28 CEST 2006

Juergen Huber wrote:

>> start here:
> that documentation i have already read, but it wouldn`t help me for my
> problem!

that documentation and a little experimentation should be all you need.

> i know, how i can read the first line an print them on the screen!
> can i say python, delete the first line?!
> thats my problem!

read the first line, and ignore it.

then read all the other lines, and write them to a new file.


More information about the Python-list mailing list