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

  • SEARCH
  • Home
  • 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 1096631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:18:38+00:00 2026-05-17T00:18:38+00:00

64-bit Vista Python 2.6 IPython 0.10 Also have Python 2.7 and 3.1 My ipy_user_conf.py

  • 0

64-bit Vista
Python 2.6
IPython 0.10
Also have Python 2.7 and 3.1

My ipy_user_conf.py has example lines showing how to set an editor. I’ve tried

ipy_editors.idle()

but

[C:Python26/Scripts]
|4>ed xxx.py
Editing… > C:\Python26\lib\idlelib/idle.py “xxx.py”

opens the IDLE for Python 3.1, and doesn’t open xxx.py.

I next imitated a sample line in ipy_user_conf.py,

ipy_editors.scite(‘c:/opt/scite/scite.exe’)

as

ipy_editors.idle(“c:/Python26/Lib/idlelib/idle.pyw”)

but

[C:Python26/Scripts]
|4>ed xxx.py
Editing… > c:/Python26/Lib/idlelib/idle.pyw “xxx.py”

opens the FILE c:/Python26/Lib/idlelib/idle.pyw in the IDLE for Python 3.1

I’ve run out of ideas. Advice, please.

BTW run xxx.py works fine.

  • 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-05-17T00:18:38+00:00Added an answer on May 17, 2026 at 12:18 am

    The most likely cause is Windows’ file name extension associations. I’m guessing Python 3.1 was the last version of python that you installed, so by default, .py and .pyw are now associated with the 3.1 executable. (One way you can verify which python version is associated with the .py/.pyw extensions is to run assoc .py. There are other ways also.)

    To get around this, explicitly say which python version you want to run:

    ipy_editors.idle('c:/Python26/pythonw.exe c:/Python26/Lib/idlelib/idle.pyw')
    

    Edit:
    A pythonic way to test the association would be to create a test.py file such as:

    import sys
    print sys.version
    

    Then at a command prompt, just run it as test.py.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

64-bit Vista, Python 2.6, IPython 0.10 I want to try logging everything I do,
I have Windows Vista 64-bit SP2. I am trying to use wxPython for GUI
I have python 2.6.6 and python 3.1.3 currently installed on my machine (Windows Vista
64-bit VISTA Python 3.1 from urllib import request a = request.urlopen('http://www.marketwatch.com/investing/currency/CUR_USDYEN').read(20500) b = a[19000:20500]
I am using 64-bit Vista and I need to migrate an access database, in
It seems that using Critical Sections quite a bit in Vista/Windows Server 2008 leads
TortoiseSVN works fine on Vista 64 bit for the user account who installed it.
I am using Java 6 64-bit and STANDALONE Tomcat 6.0.18 on Vista 64-bit. I
I'm on Windows Vista Home Premium 64 bit OS. I use Apache Friends XAMPP
Bit of a puzzle for you.... I have a 730px wide, auto height div.

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.