Is Python any good with MySQL?
Skip Montanaro
skip at mojam.com
Mon Nov 6 13:55:56 EST 2000
> Before I give in and go back to Perl, would anyone care to reassure me
> that Python really is suitable for web site development with MySQL,
> and point me at some documentation which will help me get started?
Not sure who the original poster was, as I came in late. I use MySQLdb
heavily from Python (on Linux). As for the link error on Windows:
LINK : error LNK2001: unresolved external symbol init_mysqlmodule
the initialization function defined in _mysqlmodule.c is named "init_mysql",
not "init_mysqlmodule", at least in v. 0.2.2. I'm not using 0.3 yet. You
might try renaming it. Also, you might try replacing the "void" return type
of init_mysql with "DL_EXPORT(void)" (see Modules/regexmodule.c for an
example).
--
Skip Montanaro (skip at mojam.com)
http://www.mojam.com/
http://www.musi-cal.com/
More information about the Python-list
mailing list