Re[2]: delete first line in a file

2006-06-30 Thread Petr Jakeš
JH> this helps me! JH> thank you very much! JH> greetings, juergen I am happy to see my postings (which I sent by accident to you only, not to the list, see below) helped. But: Its a pity we can not see your solution (your code) here :( It helps to others as well to see, how to solve some

Re: delete first line in a file

2006-06-30 Thread Juergen Huber
this helps me! thank you very much! greetings, juergen JH> Fredrik Lundh wrote: >> Juergen Huber wrote: >> >>> ok...i thought as much, that i have to copy this file! >>> >>> how will i do that?! >>> how will i fix this file => delete the first line?! >>> >>> with which commands cou

Re: delete first line in a file

2006-06-30 Thread Schüle Daniel
Juergen Huber schrieb: > Fredrik Lundh wrote: >> Juergen Huber wrote: >> >>> ok...i thought as much, that i have to copy this file! >>> >>> how will i do that?! >>> how will i fix this file => delete the first line?! >>> >>> with which commands could i do that?! >> start here: >> >> http://docs.pyt

Re: delete first line in a file

2006-06-30 Thread Fredrik Lundh
Juergen Huber wrote: >> start here: >> >> http://docs.python.org/tut/node9.html#SECTION00920 > > 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

Re: delete first line in a file

2006-06-30 Thread Michele Petrazzo
Juergen Huber wrote: > but...how can i say python, delete the first line?! > thats my problem! You can open the file, read its lines with readlines function ( that return a list), so make your modifies and save to another file. Now, do you know how to work with lists? http://python.org/doc/2.4.

Re: delete first line in a file

2006-06-30 Thread Juergen Huber
Fredrik Lundh wrote: > Juergen Huber wrote: > >> ok...i thought as much, that i have to copy this file! >> >> how will i do that?! >> how will i fix this file => delete the first line?! >> >> with which commands could i do that?! > > start here: > > http://docs.python.org/tut/node9.html#SECTION0092

Re: delete first line in a file

2006-06-30 Thread Fredrik Lundh
Juergen Huber wrote: > ok...i thought as much, that i have to copy this file! > > how will i do that?! > how will i fix this file => delete the first line?! > > with which commands could i do that?! start here: http://docs.python.org/tut/node9.html#SECTION00920 -- http://m

Re: delete first line in a file

2006-06-30 Thread Juergen Huber
Fredrik Lundh wrote: > Juergen Huber wrote: > >> i am a dummy user in python and new in this programming language and >> so there will be questions, that´s for you no problem! i never have >> before programmed in any language! sorry for this! i hope you will >> help me, that i also could the basics

Re: delete first line in a file

2006-06-30 Thread Fredrik Lundh
Juergen Huber wrote: > i am a dummy user in python and new in this programming language and so > there will be questions, that´s for you no problem! i never have before > programmed in any language! sorry for this! i hope you will help me, that i > also could the basics in this language! and later

delete first line in a file

2006-06-30 Thread Juergen Huber
hello, i am a dummy user in python and new in this programming language and so there will be questions, that´s for you no problem! i never have before programmed in any language! sorry for this! i hope you will help me, that i also could the basics in this language! and later many more, so i hope