Re: Command line arguments question (Windows XP)

2006-03-21 Thread [EMAIL PROTECTED]
Ross Ridge wrote: > Tim Golden wrote: > > python.file="C:\Python24\python.exe" "%1" %* > > [EMAIL PROTECTED] wrote: > > So now I got to decide whether the file association should be > > set to "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" and change the > > programs that count the arguments or set it to

Re: Command line arguments question (Windows XP)

2006-03-21 Thread Ross Ridge
Tim Golden wrote: > python.file="C:\Python24\python.exe" "%1" %* [EMAIL PROTECTED] wrote: > So now I got to decide whether the file association should be > set to "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" and change the > programs that count the arguments or set it to "%*" and change > the programs

Re: Command line arguments question (Windows XP)

2006-03-21 Thread [EMAIL PROTECTED]
Tim Golden wrote: > [ezd] > > | # u.py > | import sys > | print 'args',sys.argv > | > | in "Command Prompt" window, with 2 command lines on 2 PCs: > | > | # Case (1L): > | C:\tmp> u.py a b c > | args ['C:\\tmp\\u.py'] > | > | # Case (1D): > | C:\tmp> u.py a b c > | args ['C:\\tmp\\u.py', 'a', 'b',

RE: Command line arguments question (Windows XP)

2006-03-21 Thread Tim Golden
[ezd] | # u.py | import sys | print 'args',sys.argv | | in "Command Prompt" window, with 2 command lines on 2 PCs: | | # Case (1L): | C:\tmp> u.py a b c | args ['C:\\tmp\\u.py'] | | # Case (1D): | C:\tmp> u.py a b c | args ['C:\\tmp\\u.py', 'a', 'b', 'c'] Almost certainly means that the associ