SyntaxError: Invalid Syntax.

Roberto Bonvallet Roberto.Bonvallet at
Fri Nov 10 18:21:12 CET 2006

ronrsr wrote:
> thanks for the speedy answer.  what i meant was:
> return   MySQLdb.connect (host = "",
>                           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