How can I run a program?
python at hope.cz
Sat Jul 30 12:33:14 CEST 2005
I am running Python on XP and have a problem with
a program if its name consists '-' for example:
When I try to run a program with such name
I get the error :
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
NameError: name 'my' is not defined
Python thinks that the name of program is my.py only
but the name is my-program.py
What is a solution?
More information about the Python-list