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

How do I manually run my code in Python 2.5.4 (IDLE)?

OpenStudy (e.mccormick):

Not sure what you mean by manually, but here is a quick overview of IDLE: https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/

OpenStudy (anonymous):

IDLE is just an editor. It allows you to edit your program. It also has an interactive console that allows you run your code. However, without IDLE, you could still used a text editor to edit your .py files, and you could run them by opening up a console and typing `python filename.py`

OpenStudy (anonymous):

Thank you all.

OpenStudy (anonymous):

how come i can't seem to run the code on python? i used execfile('C:/Users/iram/Downloads/lec03.py') to run the sample lec03 code and I uncommented the lines of code i wanted to run.

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!