No, unfortunately IDLE (and its variant VIDLE) don't attach .py as the
default. It would seem useful for someone to change IDLE/VIDLE to do
that, but it's not currently something you can set in the
configurations.
Searching the VPython archives and googling I found various schemes
for restoring the behavior that used to be available for starting IDLE
(or VIDLE) by right-clicking a .py file, but I couldn't get any of
these to work. Maybe someone else on this list has found a way. I
agree that it was a very convenient scheme.
Bruce Sherwood
On Thu, Dec 8, 2011 at 9:44 AM, Jim Deane <jim...@gm...> wrote:
> Hello all, sorry to ask what seems like a couple of low level
> questions. Nevertheless, they are annoying and persistent. I am
> unable to search any archives other than what I have in my email
> account because my district blocks Sourceforge.
>
> 1. When saving files from 2.7, they do not automatically save with
> the ".py" extension. Is there a fix to this?
>
> 2. When browsing files in windows and trying to open a vpython file
> (.py), it always runs rather than opening for editing. I have set
> Windows to open with VIdle, but it still runs the file instead of
> opening it for editing. Do you know of a way to set Windows to
> automatically open .py files for editing in VIdle, rather than running
> them?
>
> Thank you,
>
> Jim Deane
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|