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

atrofimov85

I just downlaoded Python 2.5.4. When I open the new window, to write in the script mode and then run it in the shell, I do not have any keywords such as "print" or "def" color coded. I did not have such issue when I initially downloaded Python 3.x Please help. Thanks.

  • 8 months ago
  • 8 months ago

  • This Question is Open
  1. harsimran_hs4
    Best Response
    You've already chosen the best response.
    Medals 0

    you can check the highlighting from Options>configure idle>highlighting and see if the option has highlighting for print and def PS. maybe some who has used 2.5.4 may help you better

    • 8 months ago
  2. atrofimov85
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks. I tried that, but it highlights the whole thing. Not just keyword. Which version are you using?

    • 8 months ago
  3. harsimran_hs4
    Best Response
    You've already chosen the best response.
    Medals 0

    i am using 2.7x

    • 8 months ago
  4. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 1

    Save the file as a .py file?

    • 8 months ago
  5. atrofimov85
    Best Response
    You've already chosen the best response.
    Medals 0

    Thank. I actually just figured it out. For some reason my computer was not saving scripts in .py format (which it did before). I just manually changed it to .py. It works! Thank you very much.

    • 8 months 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.