Guillaume Proux wrote: > On 5/26/07, Stephen J. Turnbull <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com