Chinaunix首页 | 论坛 | 博客
  • 博客访问: 268957
  • 博文数量: 103
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 705
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-02 16:15
文章分类

全部博文(103)

文章存档

2014年(8)

2013年(95)

我的朋友

发布时间:2013-09-03 15:43:46

......【阅读全文】

阅读(898) | 评论(0) | 转发(0)

发布时间:2013-09-03 15:41:23

......【阅读全文】

阅读(782) | 评论(0) | 转发(0)

发布时间:2013-09-03 15:26:33

......【阅读全文】

阅读(1173) | 评论(0) | 转发(0)

发布时间:2013-08-27 16:32:36

mport MySQLdbtry:        conn=MySQLdb.connect(host='localhost',port=3306,user='root',passwd='123456')        cur=conn.cursor()        cur.execute('create database if not exists .........【阅读全文】

阅读(1179) | 评论(0) | 转发(0)

发布时间:2013-05-03 11:36:17

以MD5校验和的方式比较文件,遍历目录,将文件放入record={},在遍历过程中如果发现有相同的文件,则将相同的文件放入dup=[]import hashlibdef checksum(file):  fp=open(file)  checksum=hashlib.md5()  while True:    buffer=fp.read(8192)    if not buffer:brea.........【阅读全文】

阅读(1252) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册