Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
68 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
gingy57016:
I love you so much I will wait no matter how long it takes I want you to get better I want to officially call you mine again I just have to wait 13:47pm 3.
Breathless:
Welcome back to another Question of the day! for health! What Foods give the most
8u:
The weekend It was 5 am in the morning we were still awake i didn't say much i ju
korbie:
Heavenly cursed and heavily sinned I No more i like to add them, so, I want to die And I want to become a holy ghost Whom the people would like the most.
CriminalilticFools:
Is happiness real, Or just a way to give life meaning? What is the purpose If, in the end, everyone is leaving? We leave behind ashes, But while we breathe,
8u:
In a world so vast, I walk alone, With shadows as my only home. Every smile I see feels so far away, But there's one heart that lights my gray.
toga:
how would you type out the sounds a llama, sheep, goat, and alpaca make? I am ask
Kameronnnnnn:
Progress on my fic : D (imma put it in the messages ion what its called help-)
7 minutes ago
5 Replies
1 Medal
1 hour ago
3 Replies
2 Medals
1 hour ago
2 Replies
0 Medals
9 hours ago
8 Replies
1 Medal
2 hours ago
8 Replies
1 Medal
1 hour ago
9 Replies
1 Medal
1 hour ago
6 Replies
0 Medals
5 hours ago
20 Replies
3 Medals