[Python-3000] Support for PEP 3131

Nick Coghlan ncoghlan at gmail.com
Sat May 26 18:31:42 CEST 2007


Guillaume Proux wrote:
> On 5/26/07, Stephen J. Turnbull <stephen at xemacs.org> wrote:
>> For the medium term, there are ways to pass command line arguments to
>> programs invoked by GUI.  They're more or less ugly, but your daughter
>> will never see them, only the pretty icons.
> 
> Is there right now in Windows?  There is none that I know today at
> least. All I know is that specific extensions are called automatically
> using a given interpreter because of bindin defined in the  registry.
> There is no simple way to add per-file info afaik.

You can edit the action used to launch .py files on double click by 
going into View->Options->File Types in Windows Explorer (that location 
may not be exactly correct - my Windows box isn't switched on at the 
moment).

Or, assuming an environment variable is supported (ala PYTHONINSPECT vs 
the -i switch), you could just set that environment variable to allow 
any character.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list