[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
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', 'c']
Almost
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 do a split on argv[1] to
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 %* and change
the programs