anonymous
  • 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
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • 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.
rsmith6559
  • rsmith6559
If you're using the built in Python, Idle can be a real pain to find. Search for it in Spotlight.
anonymous
  • 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.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • 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.
anonymous
  • anonymous
anonymous
  • anonymous
file>New
pdpinch
  • pdpinch
I'd highly recommend reading the IDLE guide at https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html
MicroBot
  • 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.
anonymous
  • anonymous
Thanks for all the responses. I'm all set.

Looking for something else?

Not the answer you are looking for? Search for more explanations.