摘要: import MySQLdb #导入MySQL模块class Student: #创建student类 def __init__(self): self.db = None self.cursor = None self.connect() #链接数据库 def connect(self): sel 阅读全文
posted @ 2017-06-26 10:16 伟大的博主小一 阅读(703) 评论(0) 推荐(1)