python 操作mysql数据库
摘要:
1 代码#!/usr/bin/pythonimport mysql.connectorimport sys, osuser = 'root'pwd='root'host='localhost'db='amydb'select_sql = 'select * from book'cnx = mysql... 阅读全文
posted @ 2014-05-20 13:50 BestNow 阅读(213) 评论(0) 推荐(0) 编辑