hashlib模块
摘要:用于加密相关的操作,3.x里代替了md5模块和sha模块,主要提供 SHA1, SHA224, SHA256, SHA384, SHA512 ,MD5 算法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import hashlib m=hashlib.md5()# m=hash
阅读全文
posted @
2020-04-28 21:47
Manuel
阅读(136)
推荐(0)
configparse模块
摘要:https://www.cnblogs.com/yuanchenqi/articles/5732581.html 来看一个好多软件的常见文档格式如下: 1 2 3 4 5 6 7 8 9 10 11 12 [DEFAULT] ServerAliveInterval = 45 Compression
阅读全文
posted @
2020-04-28 21:32
Manuel
阅读(123)
推荐(0)
logging模块
摘要:https://www.cnblogs.com/yuanchenqi/articles/5732581.html logging模块(* * * * *) 一 (简单应用) import logging logging.debug('debug message') logging.info('inf
阅读全文
posted @
2020-04-28 20:15
Manuel
阅读(175)
推荐(0)
xml模块
摘要:import xml.etree.ElementTree as ET tree = ET.parse('20200111142206.xml')#parse解析 root = tree.getroot()#获取根 print(root.find('object').find('bndbox').fi
阅读全文
posted @
2020-04-10 13:18
Manuel
阅读(186)
推荐(0)