会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
种一棵树最好的时间是十年前,其次是现在
博客园
首页
新随笔
联系
管理
订阅
2017年12月7日
python MySQLdb包 增删改查简单应用
摘要: 1 #! /usr/bin/env python 2 # -*- coding: utf-8 -*- 3 import MySQLdb 4 5 class Database: 6 def __init__(self,user,passwd,db,host,port): 7 self.user=user 8 self.pas...
阅读全文
posted @ 2017-12-07 22:34 1109159477
阅读(1006)
评论(0)
推荐(0)
编辑
公告