I have a question about Windows based python (2.4 and later). For example, if I make a script called test.py like so:
import sys print sys.argv then run it: python test.py this is a test I see a list with ['test.py', 'this', 'is', 'a', 'test'] All is good! BUT... If i make .py extensions be run as exes (by setting the .py extension to be executable with PATHEXT setting in environment variables, the Python program will run, but NO arguments are passed! For example, after setting .py extension to be executable, i get this: test this is a test I get ['test.py]. NO arguments are passed. NOTE: This can NOT be blamed on Windows in my mind because Python2.2 and earlier works FINE. Any one have an idea? Thank you! Michael -- http://mail.python.org/mailman/listinfo/python-list