Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
16 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
hdgfudf:
Mrs. Gomez is sewing a dress for each of her four daughters. Each dress uses yards of fabric, and the fabric costs per yard.
bethknee:
A scientist finds two similar flies that have the same size, coloration, and overall morphology.
pennalopee:
So I slit my wrists What do you care.? So I'm ruining my life I'm not in your hair.
pennalopee:
Sorry for making you mad Sorry for everything I said.. Sorry for even lying to you Sorry, I'm so sorry Sorry if I disappointed you Sorry I hurt you Sorry fo
Tbone:
What is love? Why does this have to hurt? Can't I just be left alone to die without you running back into my life with the knifes? Why is it always this cat
KyledaGreat:
What if Will Smith slapped Mike Tyson instead of Chris Rock at the Oscaru2019s ?
2 hours ago
0 Replies
0 Medals
3 hours ago
1 Reply
0 Medals
5 hours ago
0 Replies
0 Medals
6 hours ago
58 Replies
2 Medals
5 hours ago
7 Replies
3 Medals
3 hours ago
4 Replies
2 Medals