[Python-3000] Support for PEP 3131

Josiah Carlson jcarlson at uci.edu
Fri May 25 18:37:50 CEST 2007

"Guillaume Proux" <gproux+py3000 at gmail.com> 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.

I thought you didn't care what identifiers were in your source? 
Wouldn't you have already changed your environment to automatically
include all of unicode in the allowable identifiers?

But if you really want to muck about with the command line to each
script individually, you can create a shortcut and add 'python <whatever
stuff you want>' to the beginning of the command line.  Or, if you want
a semi-automatic solution, you can change the command line to Python to
a batch file that automatically generates a either a shortcut or a batch
file for each .py file that is run, which can then be edited either
using the properties dialog (for shortcuts) or any text editor (for
batch files) to change the command line options to Python.

You may be able to use the shortcuts automatically generated and placed
into your 'Documents and Settings\<username>\Recent' path, but I haven't
tested this.

 - Josiah

More information about the Python-3000 mailing list