摘要:
2022-02-10 16:22 图片格式为jpg,将图片放入脚本同一文件夹下执行 from PIL import Image name = input('请输入图片名称:') img_weizhi = './' + name img = Image.open(img_weizhi) # 打开 # 阅读全文
posted @ 2022-06-02 14:40
Haibara-Z3r0
阅读(243)
评论(0)
推荐(0)
摘要:
2022-01-19 16:15 import xlwt # 导入需要的包 def txt_xls(filename, xlsname): """ :文本转换成xls的函数 :param filename txt文本文件名称、 :param xlsname 表示转换后的excel文件名 """ tr 阅读全文
posted @ 2022-06-02 14:38
Haibara-Z3r0
阅读(292)
评论(0)
推荐(0)
摘要:
2022-02-08 16:12 对前三后四格式手机号进行枚举补全并生成文本文件。 a = input('请输入前三位:') b = input('请输入后四位:') n = input('补全后文件名:') + '.txt' p = input('单列1/双列2') if p==1: f = op 阅读全文
posted @ 2022-06-02 14:32
Haibara-Z3r0
阅读(2608)
评论(0)
推荐(0)