参考小例(待补充) # -*- coding: utf-8 -*- import os import time import csv class WriteCSV(): """定义成员变量""" def __init__(self): pass def init(self, info_list, info_dict_list): self.info_list = info_list self.info_dict_list = info_dict_list def getBaseDir(self):