If you use python via the command line in Windows vista, you’ll notice that it won’t accept command line arguments if you run a script. For example this won’t work: python myscript.py argument1 argument2 Your python script won’t get the arguments. The fix for Windows Vista is:
- Get an application called: File Type Doctor
- Find the .py extension in the application
- Edit the Open action (add it if it doesn’t exist)
- Select the right python.exe file for "the application to carry out this action"
- put this in for the command line arguments (extactly as show, with the quotations): "%1" %*