Re: beginner's questions - manipulating text files

2008-07-02 Thread Ben Finney
Cédric Lucantis <[EMAIL PROTECTED]> writes: > Le Wednesday 02 July 2008 01:16:30 Ben Keshet, vous avez écrit : > > I am trying to write a script that will search for the second and > > third appearance of the symbol '@' in a file, will read a random > > line between them, and write the line into a

Re: beginner's questions - manipulating text files

2008-07-02 Thread Cédric Lucantis
Le Wednesday 02 July 2008 01:16:30 Ben Keshet, vous avez écrit : > Hi, > > I am a very beginner Python programmer with limited programming > experience overall. > > I am trying to write a script that will search for the second and third > appearance of the symbol '@' in a file, will read a random l

beginner's questions - manipulating text files

2008-07-01 Thread Ben Keshet
Hi, I am a very beginner Python programmer with limited programming experience overall. I am trying to write a script that will search for the second and third appearance of the symbol '@' in a file, will read a random line between them, and write the line into a new file. So far I was only