07 2022 档案
摘要:LOG_PATH = 'logs/debug' # 日志配置 LOGGING = { 'version': 1, #定义了配置文件的版本 'disable_existing_loggers': False, ## True表示禁用logger # 格式化 'formatters': { 'defau
阅读全文
摘要:partial 生成偏函数 concurrent.futures的map函数 with futures.ThreadPoolExecutor() as executor: 函数名 = partial(待处理函数,相关参数,可以为整数,字符串,可迭代对象) executor.map(函数名,可迭代对象
阅读全文
摘要:from win32com.client import Dispatch def just_open(filename='文件的绝对路径'): xlApp = Dispatch("Excel.Application") xlApp.Visible = False xlBook = xlApp.Wor
阅读全文