Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8544833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:39:17+00:00 2026-06-11T12:39:17+00:00

Ok, so I just installed Python 2.7, but I all ready had python 2.5.

  • 0

Ok, so I just installed Python 2.7, but I all ready had python 2.5. I realized that because I installed Python 2.7 last, IDLE automatically opens Python 2.7 IDLE, which I don’t want. Is there any way to set the Python 2.5 IDLE to automatically open when I use the right click option on a python source file? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:39:18+00:00Added an answer on June 11, 2026 at 12:39 pm

    You can easily create or edit the right-click properties for a file.

    To edit the right-click menu for a particular file extension:

    1. Run assoc .py from the command line and note the name of the association:

      C:>assoc .py
      .py=Python.File

    2. Run regedit.exe.

    3. Browse to HKEY_CLASSES_ROOT\Python.File\shell.
    4. Create a key under shell called Edit with IDLE (or however you want it to show up in the menu).
    5. Create a key under Edit with Idle called command.
    6. Edit the default value to run the command you want. Use "%1" to insert the name of the right-clicked file. Something like:

      c:\python25\pythonw.exe c:\python25\lib\idlelib\idle.pyw “%1”

    Alternatively, just save the following as idle.reg and double-click it to insert this value in the registry.

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command]
    @="\"C:\\Python25\\pythonw.exe\" \"C:\\python25\\Lib\\idlelib\\idle.pyw\" \"%1\""
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just installed python 3.2.2 on ubuntu 10.04.3 (following all instraction from readme file)
Just installed Python 2.7.3 on a Windows7 machine. How do I get .py files
Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo
I have Karmic Koala which has Python 2.6 installed by default. However I can't
I just installed PyGame 1.9.1 (onto an existing python 2.6.4). Python and it standard
I am using python 2.6 on XP. I have just installed py2exe, and I
All I want to do is run a Python script that requires Python 2.7
I have just installed django-cnotes But it wont work. It just throws up this
I am new to python and just started learning it today. I have installed
I would like to create an App with python, but i need that it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.