By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,929 Members | 1,623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,929 IT Pros & Developers. It's quick & easy.

Make PythonWin default editor on XP [solved]

bvdet
Expert Mod 2.5K+
P: 2,851
I have installed Python 2.3 and win32all on my system, upgrading from version 2.2. The reason for installing this version instead of a later one is to match the version built into the software I use. I have tried to associate PY files with Pythonwin, my script editor of choice, without success. I had no problem with this in 2.2. Any suggestions?
Oct 24 '06 #1
Share this Question
Share on Google+
6 Replies


bartonc
Expert 5K+
P: 6,596
You forgot to mention which version of Windows you're running....
Oct 24 '06 #2

bvdet
Expert Mod 2.5K+
P: 2,851
Windows XP SP2
Oct 24 '06 #3

bartonc
Expert 5K+
P: 6,596
This is really weird... I can go

My Computer->Explore->Folder Options->File Types
ckick Browse and select pythonwin.exe (which is in D:\Python24\Lib\site-packages\pythonwin on my system)

It works, but the icons didn't change from Python 2.5 icon.
Oct 24 '06 #4

bvdet
Expert Mod 2.5K+
P: 2,851
I seems weird on my end also. The file icons match the Pythonwin icon, but the association to python.exe will not update. I can change the association to Notepad OK. I'm baffled.
Oct 24 '06 #5

bvdet
Expert Mod 2.5K+
P: 2,851
It looks like I fixed it.
Explorer-Tools-Folder Options-File Types- PY
In the advanced window, I added the action 'open' and the association stuck.
Oct 24 '06 #6

bartonc
Expert 5K+
P: 6,596
Windows XP SP2
PS: If you're not using many features of pythonwin, there are wxPython based editors with better class browsing, etc, and you may start to get a feel for what you could do wrt application development if you had a fairly easy tool for getting MS native look and feel. I started off a couple of years ago writing apps using IDLE as my editor and Tk for GUI. My apps sure look pro now using wxPython for GUI. I'm still trying different editors, but am leaning toward Stan's Python Editor (SPE). Stan is due to release a new version soon, to coincide with the official release of wxPython 2.7? in November.
Oct 24 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.