SyntaxError: Invalid Syntax.

Roberto Bonvallet Roberto.Bonvallet at cern.ch
Fri Nov 10 12:21:12 EST 2006


ronrsr wrote:
> thanks for the speedy answer.  what i meant was:
> 
> return   MySQLdb.connect (host = "db91b.pair.com",
>                           user = "homebase",
>                            passwd = "Newspaper2",
>                        db = "homebase_zingers"
>                           );
> 
> 
> but even when I have that, I still get the same error.

Could you please copy and paste the exact code that is triggering the
error, and the exact error message?

(BTW, in Python you don't need to end your statements with a semi-colon)
-- 
Roberto Bonvallet



More information about the Python-list mailing list