MySQL with Python

Demian Brecht demianbrecht at gmail.com
Mon Oct 15 10:05:12 EDT 2012


On 12-10-15 06:45 AM, রুদ্র ব্যাণার্জী wrote:
> if yes, can you kindly suggest a book/reference on this?
>

There are a few different ways to connect to MySQL, two of which are:

For reference on connecting and querying MySQL through mysql-python, 
take a read through http://mysql-python.sourceforge.net/MySQLdb.html.

Another solution is to use SQLAlchemy (http://www.sqlalchemy.org/). The 
ORM abstracts a lot of the tedious SQL queries out for you and allows 
you to concentrate more on your application's logic.

-- 
Demian Brecht
@demianbrecht
http://demianbrecht.github.com



More information about the Python-list mailing list