- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 百度云识字
import requestsimport base64class FindStr: def __init__(self, file): self.API_KEY = '???' self.Secret_Key = '???' self.file = file self.token = None def get_token(self): host = 'https://aip.baidubce.com/
2021-05-31 23:05:24 158
原创 漫画图片切割
from PIL import Imageimport osdef imgchuli(file, filename, filetype): img = Image.open(file) chicun = img.size high = int(chicun[1]) chang = int(chicun[0]) box = (0, 0, int(chang / 2), int(high)) box2 = (int(chang / 2), 0, i.
2021-01-21 23:53:38 1712
原创 PYQT5子窗口关闭时主窗口调用函数
主代码from ui_user import Ui_Dialogfrom PyQt5.QtWidgets import QApplication, QMainWindowfrom exit import My_Exit_Windowimport sysclass My_Main_Window(QMainWindow, Ui_Dialog): '''主程序''' def...
2019-06-12 20:10:40 12085 2
原创 python3 重命名
`# -- coding:utf-8 --import ospath = os.getcwd() # 对该路径下所有文件重命名排序file_list = os.listdir() # 该文件夹下所有的文件(包括文件夹)for file in file_list: # 遍历所有文件if os.path.isdir(file): # 如果是文件夹则跳过continueolddir...
2019-04-27 14:19:45 398
u盘 硬盘 数据恢复
2018-11-23
gunicorn flask 跑不起来
2023-06-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人