R
ronrsr
no matter where I place this imported file,the statement after it in
the main program gets a syntax error, regardless of the syntax.
I think I may have changed something in this file, but I'm stuck. Can
anyone help?
#!/usr/local/bin/python
# Copyright 2004 by Stephen Masterman
#Change the db connection details here.
import MySQLdb
def connect():
return = MySQLdb.connect (host = "db91x.xxxx.com",
user = "xxxx",
passwd = "xxxxx",
db = "homebase_zingers"
);
the main program gets a syntax error, regardless of the syntax.
I think I may have changed something in this file, but I'm stuck. Can
anyone help?
#!/usr/local/bin/python
# Copyright 2004 by Stephen Masterman
#Change the db connection details here.
import MySQLdb
def connect():
return = MySQLdb.connect (host = "db91x.xxxx.com",
user = "xxxx",
passwd = "xxxxx",
db = "homebase_zingers"
);