python常用module
MySQLdb
MySQLdb 是用于Python链接Mysql数据库的接口,它实现了 Python 数据库 API 规范 V2.0,基于 MySQL C API 上建立的。
如何安装MySQLdb?
为了用DB-API编写MySQL脚本,必须确保已经安装了MySQL。复制以下代码,并执行
#!/usr/bin/python # -*- coding: UTF-8 -*- import MySQLdb
http://www.runoob.com/python/python-mysql.html