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