win-shortcuts, file associates and command-line parameters ?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Apr 10 18:18:17 EDT 2008


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

-- 
Gabriel Genellina




More information about the Python-list mailing list