摘要: 一: 安装依赖库 pip3 install openpyxl 二:创建新文件 from openpyxl import Workbook import time book = Workbook() sheet = book.active sheet['A1'] = 11 sheet['A2'] = 阅读全文
posted @ 2021-06-11 16:32 RoyFans 阅读(133) 评论(0) 推荐(0) 编辑
摘要: import hashlib data = 123 md5 = hashlib.md5(data.encode(encoding='UTF-8')).hexdigest() print(md5) output: 202cb962ac59075b964b07152d234b70 阅读全文
posted @ 2021-06-11 16:18 RoyFans 阅读(2278) 评论(0) 推荐(0) 编辑