10 2017 档案

摘要:比较两个postgresql数据库,原理 比较数据库中各表的大小 1. 数据库查询语句 2. python字典比较 阅读全文
posted @ 2017-10-16 13:22 百变小超 阅读(1902) 评论(0) 推荐(0)
摘要:unrar在Linux机器中对中文的支持有漏洞 components.py 利用python 对各种格式的文件压缩 解压 操作,文件的一些操作,目录结构读成字典的形式,字典的比较方法(http://www.runoob.com/python/att-dictionary-cmp.html)。 阅读全文
posted @ 2017-10-12 13:21 百变小超 阅读(677) 评论(0) 推荐(0)
摘要:参考 http://blog.chinaunix.net/uid-26719405-id-3450447.html 如果 /user/bin 中有 rar 删除后重新创建软连接 如果出现 “-bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF 阅读全文
posted @ 2017-10-10 01:12 百变小超 阅读(3912) 评论(1) 推荐(0)
摘要:离线安装python库参考: http://www.cnblogs.com/michael-xiang/p/5690746.html 安装 unrar 的错误问题 参考: https://github.com/matiasb/python-unrar/blob/master/README.md ht 阅读全文
posted @ 2017-10-10 00:48 百变小超 阅读(2388) 评论(1) 推荐(0)
摘要:在使用python读取中文目录的名称的时候,会出现中文乱码的问题,该问题很严重,因为使用os.path.isdir('乱码名称')和ospath.isfile('乱码名称')是判断不正确,都为false。 即使有时候采用 filename.decode("gbk").encode("utf-8") 阅读全文
posted @ 2017-10-09 19:18 百变小超 阅读(30267) 评论(1) 推荐(0)