摘要:
# -*- coding:utf-8 -*- # import os import time import sys def del_expire_file(file_path,expire_day): if not os.path.isdir(file_path): print("{} is not 阅读全文
摘要:
import configparser config = configparser.ConfigParser(allow_no_value=True) config.read("test.ini") ''' test.ini [db] host = 127.0.0.1 port = 8888 use 阅读全文