Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

inicoud Group Title

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

  • one year ago
  • one year ago

  • This Question is Closed
  1. msmithhnova Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    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.

    • one year ago
  2. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

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

    • one year ago
  3. msmithhnova Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    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.

    • one year ago
  4. sidonsoft Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • one year ago
  5. sidonsoft Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    • one year ago
  6. clartx Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    file>New

    • one year ago
  7. pdpinch Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

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

    • one year ago
  8. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    @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.

    • one year ago
  9. inicoud Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

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

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.