SyntaxError: Invalid Syntax.

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Nov 10 12:06:08 EST 2006


In <1163178099.156160.29280 at k70g2000cwa.googlegroups.com>, ronrsr wrote:

> def connect():
> 
> 
>    return =  MySQLdb.connect (host = "db91x.xxxx.com",
            ^

You can't assign to a keyword.  Just leave this ``=`` out.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list