SyntaxError: Invalid Syntax.

Steve Holden steve at
Fri Nov 10 21:15:15 CET 2006

ronrsr wrote:
> the syntax error comes in the main program, in any line that follows
> the import statement.
in which case, don't you think it might be the "import" statement that's 
causing the problem. What is stopping you from showing us the whole 
source? Or at least the import statement as well as the statement that 
causes the syntax error to be reported. Maybe your module has an odd 
name like "from", for example.

We aren't psychic, you know (though some on this list come close).

Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd
Skype: holdenweb
Recent Ramblings

More information about the Python-list mailing list