> On windows the invocation of a python script happens either via "python +
> script" or under some windows versions just as "script" which however
> requires Python to be linked to that file extension.  However it's not
> possible to pass arguments to that script that way.
>
> A good solution would be adding a bat that calls python + the arguments of
> the script.

wow, just learned some -- wasn’t aware that `foo.py bar baz` drops the
arguments! shame on windows!

while there is probably a way to configure that so it works, maybe the
fastest solution is to add a short text to the help that appears only
to windows users that have called the script without arguments, along
the lines of "Please make sure you do not call this script as
`manage.py foo bar` but as `python manage.py foo bar` -- without the
explicit `python` in front no parameters will be passed to the
script". that much would've helped me a whole lot.

regrads,

~flow


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to