Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 16 Online
OpenStudy (anonymous):

I lose my formatting when I save a program in IDLE. All keywords lose their color and my program text turns black. It is really diffficult to edit it then. Can you please help me to figure out a way to retain the formatting. I use python 2.6

OpenStudy (anonymous):

save it with a .py extension

OpenStudy (anonymous):

Thanks mate... I can resume working on my problem sets now...

OpenStudy (e.mccormick):

Also, IDLE is a very basic learning tool and many people have pointed out its flaws. You might want to use an editor that understands programming better and is designed to be an editor, then use a command prompt to run the Python code. Or edit mostly in a programming editor and load into IDLE to run if you are not familiar with the command prompt.

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!
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!