Thank you for this information
It took me a few minutes to find out what to do
In Folder Options, click on "File Types"
Scroll down to extension PYW and click on it
Then click on "Advanced" to open new window
Click on "Edit with IDLE" and perfom edit as described
Regards
Peter Borcherds
----- Original Message -----
From: "Bruce Sherwood" <Bru...@nc...>
To: <vis...@li...>
Sent: Saturday, March 10, 2007 9:47 PM
Subject: Re: [Visualpython-users] IDLE editing issue
> It would be great if you would post this as a bug report to the Python
> community, requesting a change in future Python installers. I think
> you'll find instructions on how to do this at python.org.
>
> Bruce Sherwood
>
> Matthew Kohlmyer wrote:
>> I'm not sure if this is a VPython issue or pure Python issue, but there
>> is a minor annoyance with the way IDLE behaves.
>>
>> I'm using Python 2.5 and VPython 3.2.10 on Windows XP. Right click a
>> .PY file, and you have the option to "Edit with IDLE". Do so, and you
>> can happily edit the file, and run it, but when you close the VPython
>> graphics window, it kills _everything_, including IDLE, forcing you to
>> re-open the program. You can, of course, avoid this by starting IDLE
>> first and opening the file from within IDLE. Still, it's a stupid and
>> confusing behavior, and goes against how all other Windows application
>> behave.
>>
>> Poking around in "Folder Options-->File Types" in the Control Panel, I
>> found that the application association for the "Edit with IDLE" action
>> is:
>>
>> "C:\Python25\pythonw.exe" "C:\Python25\Lib\idlelib\idle.pyw" -n -e "%1"
>>
>> I tried deleting the "-n" switch, making it:
>>
>> "C:\Python25\pythonw.exe" "C:\Python25\Lib\idlelib\idle.pyw" -e "%1"
>>
>> And now it works! With this application association, if you open a file
>> using "Edit with IDLE", IDLE will stay open when you close the VPython
>> window. Keep in mind I have no idea what "-n" or "-e" do, and I've been
>> unsuccessful trying to find out.
>>
>> In any case, who do I lobby to have this changed to the default setting
>> on installation? Can (or should) this be fixed at the level of the
>> VPython installer?
>>
>> Matt
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Visualpython-users mailing list
>> Vis...@li...
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
|