摘要:
% 格式 tpl = "i am %s" % "alex" tpl = "i am %s age %d" % ("alex", 18) tpl = "i am %(name)s age %(age)d" % {"name": "alex", "age": 18} tpl 阅读全文
posted @ 2018-07-25 11:21
黄瓜不是好瓜
阅读(144)
评论(0)
推荐(0)
摘要:
import hashlib def md5(arg): ooo = hashlib.md5(bytes('qazwsx',encoding='utf-8')) ooo.update(bytes('arg',encoding='utf-8')) return ooo.hexdigest() def 阅读全文
posted @ 2018-07-25 10:32
黄瓜不是好瓜
阅读(475)
评论(0)
推荐(0)