At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
Are you writing the program in the shell or something? A python program is really nothing more than a text file so this should be fairly easy to get right. I just open the shell. go to file, new and a built in python editor pops up. Then I type the program and save as example.py and I'm good to go. you could write a python program with notepad as long as you were careful with indentation. Then you would just need to save the .txt as a .py and you're good to go.
If you want to re open the same file go to file, open and navigate to where ever you saved it in the first place.