Hello,
Recently I was link-jumping and came across an excellent tutorial using MySQLdb. There were several examples showing how to connect to the db, and how to iterate through the datasets, etc.
I believe this article originated from www.python.com. I'm sorry I can't be more specific, but if anyone can give this url, I'd be grateful!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Recently I was link-jumping and came across an excellent tutorial using MySQLdb. There were several examples showing how to connect to the db, and how to iterate through the datasets, etc.
I believe this article originated from www.python.com. I'm sorry I can't be more specific, but if anyone can give this url, I'd be grateful!
Check the doc directory inside the most recent MySQL-python tarball. That might be what you're looking for...
Thanks Greg. I just installed the module and have been looking through the docs.
Incidently, I did find the article I was looking for. It's at devshed.com > mysql. Sorry I can't paste the url, but it's there and it's a great intro.
Jim - thought I'd paste the URL for general info: http://www.devshed.com/Server_Side/Python/PythonMySQL/page1.html
Like the mysqldb docs and the DB API though, there's no example of actually using a field in a returned record!