MySQL in Python 2.5
I would li开发者_运维知识库ke to know how can I handle MySQL in python 2.5. Is there any build in library? Or any small external library?
Try taking a look at http://sourceforge.net/projects/mysql-python/ it is a souerceforge project.
If, as you suggest, you can't build C modules, try using one of the pure Python modules listed here. Use virtualenv
to create your own site-packages directory and pip
to install it. I have no idea how well any of those work though.
The frequently linked MySQL-Python module is probably the way to go, but Pyodbc is also compatible with MySQL, just to give you other options.
精彩评论