[New-bugs-announce] [issue7936] sys.argv contains only scriptname

JT Johnson report at bugs.python.org
Mon Feb 15 20:07:20 CET 2010


New submission from JT Johnson <svedgeburn at 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 are Pygame, but even before Pygame imports, there is nothing in sys.argv. I've tried creating a shortcut with the args in it, but it still doesn't work.
Note that I also have a couple other Python versions installed (2.5, 2.7a, and 3.1) maybe somehow they are conflicting?

----------
components: IO
messages: 99367
nosy: JT.Johnson
severity: normal
status: open
title: sys.argv contains only scriptname
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7936>
_______________________________________


More information about the New-bugs-announce mailing list