python读写csv文件
def get_csv_data_update(csv_file, col, row): """获取CSV文件 - 自定义版本""" logging.info("-> 开始获取CSV文件内容") with open(csv_file, 'r', encoding='utf-8-sig') as file: reader = csv.reader(file) # 获取第几列第几行的数据 record = [column[col] for column in reader] return record[row]