Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
8 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
Jaded012023:
So my Band Director (for the sake of the rest of this we'll call him bd) is leaving our highschool.
suger:
Where can i make a website to sell the things i crocet and knit can some one help
Subshilava:
Does anyone know how to see what text is on the page with inspect element without being able to click on the text in a faster way than reading each line im
Demon25:
Have you ever been betrayed by The ones that you love? Gave a B^^ your last but I
Twaylor:
WHAT TO DO IF ICE IS AT YOUR DOOR 1. You do not have to open the door. If you do, stay calm - you have rights.
catacombs1895:
Im still finding my way around this site, but I think this is how I use this.... does anyone have any writing tips? like writing either for poems or book wr
8 hours ago
9 Replies
0 Medals
5 hours ago
5 Replies
1 Medal
2 days ago
4 Replies
1 Medal
2 days ago
4 Replies
0 Medals
2 days ago
36 Replies
3 Medals
19 hours ago
8 Replies
0 Medals