SyntaxError: invalid syntax

DIBS max at legs.com
Tue Dec 27 10:32:18 CET 2005


>>> python sudoku.py
    File "<stdin>", line 1
       python sudoku.py
                    ^

>>>SyntaxError: invalid syntax




Thanks for your help.
The above is the extact message.

DIBS




"Steven D'Aprano" <steve at REMOVETHIScyber.com.au> wrote in message 
news:pan.2005.12.27.07.57.00.763429 at REMOVETHIScyber.com.au...
> On Tue, 27 Dec 2005 07:40:12 +0000, DIBS wrote:
>
>> I'm new to Python and I don't understand what I'm doing wrong.
>>
>> I'm running windows xp.
>>
>> In the command line window, I type:
>> Python Sudoku.py
>>
>> and I get the response"
>>
>> SyntaxError: invalid syntax
>>
>> If anyone cane help me I'd be very grateful.
>
> Please post the *full* traceback of the error, not just the last
> description.
>
> For example, something like this:
>
>>>> x = x+*9
>  File "<stdin>", line 1
>    x = x+*9
>          ^
> SyntaxError: invalid syntax
>
>
> Just "SyntaxError" on its own is not enough to tell what is going on,
> except to say that it sounds like a bug in the program you are trying to
> run.
>
>
> -- 
> Steven.
> 





More information about the Python-list mailing list