摘要: 本文简单介绍了各种常用的字符编码的特点,并介绍了在python2.x中如何与编码问题作战 :) 请注意本文关于Python的内容仅适用于2.x,3.x中str和unicode有翻天覆地的变化,请查阅其他相关文档。 尊重作者的劳动,转载请注明作者及原文地址 >.< 转自 http://www.cnbl 阅读全文
posted @ 2016-11-18 12:56 想做土匪的书生 阅读(221) 评论(0) 推荐(0) 编辑
摘要: def judgePasswordStrength(password): strengthLength = max(0, len(password) - 5) from string import ascii_lowercase, ascii_uppercase, digits, punctuation flags = [bool(set(password) & set(... 阅读全文
posted @ 2016-11-18 12:45 想做土匪的书生 阅读(275) 评论(0) 推荐(0) 编辑
摘要: # 上代码 文件打包 1、zip 2、tar/tar.gz 文件拷贝 网上不错的例子: 阅读全文
posted @ 2016-11-18 10:58 想做土匪的书生 阅读(700) 评论(0) 推荐(0) 编辑