python Programming Glossary: blah.py
How to execute Python scripts in Windows? http://stackoverflow.com/questions/1934675/how-to-execute-python-scripts-in-windows execute Python scripts in Windows I have a simple script blah.py import sys print sys.argv 1 If I execute my script by python.. print sys.argv 1 If I execute my script by python c .... blah.py argument It prints argument but if I execute script by blah.py.. argument It prints argument but if I execute script by blah.py argument error occurs IndexError... So arguments do not pass..
|