Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
29 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
xjacob:
it's not about what you have But about how you use it Nothing good or bad Unless you choose to make it Before u blame a trait Think about what you can do to
unknownnnnnn:
Hurt, Unlit... Hurt is a room with no windows, air thick with unsaid things. You pace the floor, counting breaths like debts you owe.
penguin:
idk what to do I'm in foster care and I used to do a lot of things like cut for i
unknownnnnnn:
Cuts... Some cuts are paper-thin, a day nicked by a word said wrong, a moment sharp enough to sting then fade.
penguin:
I thought it was a dream; I thought it wasn't real, But pain really hurts and it's really how I feel.
penguin:
Forever means nothing in my eyes. It's just a word you use to cover up lies, To hide your tracks each night you leave So I don't worry and start to believe.
xjacob:
Question why people that do art are good even though they don't like it and they don't do it.
unknownnnnnn:
Pain didnu2019t knock. It broke in, left fingerprints on everything I loved. It taught me how fast trust can rot, how words can lie straight to your face, h
17 minutes ago
7 Replies
4 Medals
3 hours ago
3 Replies
1 Medal
1 day ago
2 Replies
0 Medals
4 hours ago
6 Replies
4 Medals
4 hours ago
4 Replies
1 Medal
1 day ago
2 Replies
0 Medals
1 day ago
2 Replies
2 Medals
1 day ago
9 Replies
1 Medal