On Tue, 27 Dec 2005 09:32:18 GMT
"DIBS" <[EMAIL PROTECTED]> wrote:
> >>> python sudoku.py
>     File "<stdin>", line 1
>        python sudoku.py
>                     ^
> 
> >>>SyntaxError: invalid syntax
> 
> Thanks for your help.
> The above is the extact message.

Based on the ">>>" prompt, I'd say you tried to type this
into the python interactive interpreter. It's supposed to be
a shell command -- i.e. you *invoke* the python interpreter
to run the file from the command line.

If you are already running python, then you might get what
you want by importing the module:

>>> import sudoku

but whether that's what you really want or not depends on
how the module is meant to be used (is it a "module" or a
"script"?).

Cheers,
Terry

-- 
Terry Hancock ([EMAIL PROTECTED])
Anansi Spaceworks http://www.AnansiSpaceworks.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to