[issue7936] sys.argv contains only scriptname

2010-06-15 Thread Tom Zych

Tom Zych freethin...@pobox.com added the comment:

The problem went away by itself after a while. I suspect a Windows update.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7936
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7936] sys.argv contains only scriptname

2010-03-23 Thread Tom Zych

Tom Zych freethin...@pobox.com added the comment:

I'm getting something like this on Windows 7:

C:\assoc .py
.py=Python.File

C:\ftype Python.File
Python.File=C:\Python31\py31.exe %1 %*

C:\args.py 1 2 3
Python version: sys.version_info(major=3, minor=1, micro=1, 
releaselevel='final', serial=0)
Command-line args: 1
['C:\\args.py']

C:\\python31\py31 args.py 1 2
Python version: sys.version_info(major=3, minor=1, micro=1, 
releaselevel='final', serial=0)
Command-line args: 3
['args.py', '1', '2']

--
nosy: +tomzych

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7936
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7936] sys.argv contains only scriptname

2010-03-23 Thread Tom Zych

Tom Zych freethin...@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 rep...@bugs.python.org
http://bugs.python.org/issue7936
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com