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

How do you type multiple lines of code into IDLE? My Python environment does not look like the one projected in the lectures. I am on a Mac platform running python build 2.7.3

OpenStudy (anonymous):

As long as you loaded Idle and not the command interpreter, you will be in the 'Shell', just go to 'File', 'New Window' and that will open the 'Editor' where you can write lines and save them to a file.

OpenStudy (rsmith6559):

If you're using the built in Python, Idle can be a real pain to find. Search for it in Spotlight.

OpenStudy (anonymous):

On most distributions, if you do not have an Idle icon, you can find an idle.bat file or similar under some combination of Lib\idelib under your python directory.

OpenStudy (anonymous):

You can type multiple lines of code using the OSX IDLE, just type it directly line by line and it knows that its multi-line. You exit by sending a blank line, also if you scroll up and press enter on multi-line code it will retype out for you automatically, allowing you to quickly edit it.

OpenStudy (anonymous):

OpenStudy (anonymous):

file>New

OpenStudy (pdpinch):

I'd highly recommend reading the IDLE guide at https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html

OpenStudy (microbot):

@inicloud if u r doing the 6.00x course (of EdX) then u should probable download and install the python version given on the site.might work better for u:). http://www.enthought.com/products/epd_free.php this is the link to it. follow the instruction given in problem set 1.

OpenStudy (anonymous):

Thanks for all the responses. I'm all set.

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!