Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
33 Online
When I run a python program and then go back and want to repair the errors I made, I can't do that. Is there a way to avoid rewriting all?
Still Need Help?
Join the QuestionCove community and study together with friends!
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.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Twaylor:
Can someone make me a fast beat - not overdoing it but a lot of base? needs to be
zanesafoodie:
chat, is there any advice you can give me on how beat writers block? like if you
zanesafoodie:
chat, is there any advice you can give to me beat writers block? like if you dont
Jake1235:
How do trace gases like methane and CO2, despite low concentrations, have such a
unknownnnnnn:
people people how do you deal with these people all they do is get on ur nerves t
Jake1235:
How do scientists quantitatively understand geomorphological concepts like peneplanation or retrogressive erosion over millions of years? I'm stumped.
MariaNorie:
I am working on my art class, but I was wondering if I am shading, is charcoal pe
thereneelg:
Hey guys!!! This is my first time doing Digital art. How did I do? Yes, I decided not to colour it and just make the outlines the colours they're supposed t
38 minutes ago
0 Replies
0 Medals
3 minutes ago
3 Replies
0 Medals
7 hours ago
0 Replies
0 Medals
1 hour ago
7 Replies
1 Medal
6 hours ago
4 Replies
1 Medal
1 day ago
5 Replies
2 Medals
1 day ago
8 Replies
7 Medals
3 days ago
3 Replies
0 Medals