SyntaxError: Invalid Syntax.

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Nov 10 18:06:08 CET 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