摘要:
1 #coding=utf-8 2 import sys 3 import MySQLdb 4 5 class TransferMoney(object): 6 def __init__(self,conn): 7 self.conn = conn 8 9 #检... 阅读全文
摘要:
1 #coding=utf-8 2 import MySQLdb 3 conn = MySQLdb.Connect(host = '127.0.0.1',port=3306,user='root',passwd='',db='test',charset='utf8') 4 cursor = con... 阅读全文
摘要:
1 #coding=utf-8 2 import MySQLdb 3 conn = MySQLdb.Connect(host = '127.0.0.1',port=3306,user='root',passwd='',db='test',charset='utf8') 4 cursor = con... 阅读全文
摘要:
#coding=utf-8import MySQLdbconn = MySQLdb.Connect(host = '127.0.0.1',port=3306,user='root',passwd='',db='test',charset='utf8')cursor = conn.cursor()sq... 阅读全文