Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

atrofimov85

  • one year ago

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.

  • This Question is Open
  1. harsimran_hs4
    • one year ago
    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

  2. atrofimov85
    • one year ago
    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?

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

    i am using 2.7x

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

    Save the file as a .py file?

  5. atrofimov85
    • one year ago
    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.

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

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

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.