摘要:
#_author:star#date:2019/11/6#logger >模块级别的函数#文件与屏幕同时显示日志信息import logginglogger=logging.getLogger()#创建一个Handler,用于写入日志文件fh=logging.FileHandler('logger. 阅读全文
摘要:
#_author:star#date:2019/11/6#logging 模块import logginglogging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(filename)s [line:%(lineno)d] %(lev 阅读全文
摘要:
#_author:Administrator#date:2019/11/06#三级菜单(高大上版)#作业要求#1.展示省市县(数据存在文件中)#2.对文件实现增删改with open('menutxt','r',encoding='utf8') as f_read: str_menu=eval(f_ 阅读全文
摘要:
#_author:star#date:2019/11/5#hashlib模块 >加密import hashlibm=hashlib.md5()print(m)#<md5 HASH object @ 0x00C9A8A8>#'abc'>>>>>>>>>>>>>>>>>>>>>>md5>>>>>>>>> 阅读全文