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 program? Ignoring details, is there a top-level switch or loop? When you have that, you can cut and paste snippets already written into that structure.
tjr -- http://mail.python.org/mailman/listinfo/python-list