摘要:
# 导入hashlib模块 import hashlib # 获取MD5对象 # 不加盐操作 # md5 = hashlib.md5() # 加盐操作 md5 = hashlib.md5('wenwe1i'.encode("utf8")) # 获取需要加密的字段 md5.update('how to 阅读全文
posted @ 2019-11-03 09:24
Mr_Riven
阅读(116)
评论(0)
推荐(0)
摘要:
(1)路径问题 open一个同py文件同一个目录的文件的时候,用以下: txt = open('/filtered_words.txt','rb') words = txt.readline() filtered = [] for word in words: filtered.append(wor 阅读全文
posted @ 2019-11-03 06:05
Mr_Riven
阅读(755)
评论(0)
推荐(0)

浙公网安备 33010602011771号