[issue7936] sys.argv contains only scriptname

2010-02-15 Thread JT Johnson
New submission from JT Johnson svedgeb...@gmail.com: I am running Python 2.6.4 on Windows Vista and when I try to get any command line arguments via sys.argv, it only contains sys.argv[0], but nothing else. Even if I supply several parameters. The only third-parts modules I am using

[issue7936] sys.argv contains only scriptname

2010-02-15 Thread JT Johnson
JT Johnson svedgeb...@gmail.com added the comment: Actually, I was playing around with it and I found that using the python command before it does work. Now, when I type what you said to do, it shows that there is no association, even though i can run a program without the python command

[issue7936] sys.argv contains only scriptname

2010-02-15 Thread JT Johnson
JT Johnson svedgeb...@gmail.com added the comment: Sorry for a double-comment, but I thought of posting this after I already submitted the last one and I found no edit button. Here's some output: Microsoft Windows [Version 6.0.6001] Copyright (c) 2006 Microsoft Corporation. All rights