win-shortcuts, file associates and command-line parameters ?
Stef Mientki
stef.mientki at gmail.com
Fri Apr 11 17:40:00 EDT 2008
Gabriel Genellina wrote:
> En Thu, 10 Apr 2008 16:03:28 -0300, Stef Mientki <stef.mientki at gmail.com>
> escribió:
>
>
>> under windows I tried to make a shortcut to a py -file, to run a program.
>> So making a shortcut like this works perfect:
>> D:\PyLab_Works.py
>>
>> But the problem is that I need to give some commandline parameters to
>> the py-file,
>> and
>>
>> D:\PyLab_Works.py btc_test
>> But the parameter doesn't seem to arrive in the python program
>>
>
> Check the associated command for .py files; see this message
> http://groups.google.com/group/comp.lang.python/msg/056ba14ae4fa57e3
>
>
Didn't work for me winXP-SP2, even after a restart :-(
But anyway thanks for the effort.
cheers,
Stef Mientki
More information about the Python-list
mailing list