[issue7936] sys.argv contains only scriptname

Tom Zych report at bugs.python.org
Tue Mar 23 22:40:34 CET 2010


Tom Zych <freethinker at pobox.com> added the comment:

No joy :(

I tried putting double-quotes around %%*, that didn't work either. Tried single-quotes too, just in case it works like a Bourne-type shell.

BTW I forgot to set 3.1 on my earlier message.

That business about having to double the % rings a faint bell from the old MS-DOS days, though. Can't remember. Something about, it will interpret it once, so you have to make sure it comes out the way you want after it does that. (Which is old hat to anyone who does much programming in a Unix shell, but it was new to me back then.) I remember it was rather difficult to get it right.

----------
components: +Library (Lib) -IO
versions: +Python 3.1 -Python 2.6

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


More information about the Python-bugs-list mailing list