Re: How can I run a program?

2005-07-30 Thread Calvin Spealman
did you try to put the filename in quotes? On 30 Jul 2005 03:33:14 -0700, Lad <[EMAIL PROTECTED]> wrote: > Hello, > I am running Python on XP and have a problem with > a program if its name consists '-' for example: > my-program.py > When I try to run a program with such name > I get the error :

Re: How can I run a program?

2005-07-30 Thread phil hunt
On 30 Jul 2005 03:33:14 -0700, Lad <[EMAIL PROTECTED]> wrote: >Hello, >I am running Python on XP and have a problem with >a program if its name consists '-' for example: >my-program.py >When I try to run a program with such name >I get the error : > >Traceback (most recent call last): > File "",

Re: How can I run a program?

2005-07-30 Thread Thorsten Kampe
* Lad (2005-07-30 11:33 +0100) > I am running Python on XP and have a problem with > a program if its name consists '-' for example: > my-program.py > When I try to run a program with such name /How/ do you "run" the program for Guido's sake?! > I get the error : > > Traceback (most recent cal

How can I run a program?

2005-07-30 Thread Lad
Hello, I am running Python on XP and have a problem with a program if its name consists '-' for example: my-program.py When I try to run a program with such name I get the error : Traceback (most recent call last): File "", line 1, in ? NameError: name 'my' is not defined Python thinks that t