What I showed you does work. I didn't notice that you were using antique python until now.
try:
Also, try this and see what's printed:
try:
c:\python27\python TestArgs.py -i 'Myinput1.txt' -b 'MyInput2.txt' -o 'Myoutput.txt'Which works , I just tested it.
Also, try this and see what's printed:
python -VBecause if your 'python' does point to python 2.7 the command I first displayed should work as well.