Re: Reading, editing and saving a txt file

2008-11-05 Thread Terry Reedy
Artur Sousa wrote: Hi everyone. What I'm trying to do is a Python script that reads a txt file with the following structure: ... I've already started some programming, but I'm stuck. You started from the bottom up. Now also try from the top down. What should be the main structure of your

Reading, editing and saving a txt file

2008-11-05 Thread Artur Sousa
Hi everyone. What I'm trying to do is a Python script that reads a txt file with the following structure: > AI_Tactic.dat > NO_AI > 1 > > Animation.dat > Intro > 2 > > Areas.dat > Start > 8 Then asks for a user input on what line containing one of those filenames the script should read, sh