Re: Reading, editing and saving a txt file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Reedy

    Re: Reading, editing and saving a txt file

    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

Working...