Why PyMySQL?
It's pure Python and runs anywhere Python does. This includes Python 2.4 through the latest Python 3, the Java VM, or .NET. No C compilation required, so no headaches on Mac OS X or Windows.
It's also a drop-in replacement for the standard way of connecting to MySQL in Python, MySQLdb. Just import pymysql; pymysql.install_as_MySQLdb() in any existing project before MySQLdb is imported, and it'll work.
I'm on Windows7/ Python27. Trying to install, but have a problem. Let me show my steps: 1.Download PyMySQL-0.2-py2.6.egg Python 2.6 egg 2.Unpacked it to the site-packages in Python27 I have 2 folders: EGG-INFO and pymysql. My question: Can I use it now or should I do anything else?
Check this out: http://web-eng-help.blogspot.com/2010/09/install-mysql-5-for-python-26-and.html