摘要: 1.检查文件是否存在 a56爆大奖在线娱乐们经常需要从文件中读取数据或向其中写入数据,但要做到这一点,a56爆大奖在线娱乐们需要检查文件是否存在。 import os exists = os.path.isfile('/path/to/file') 2.读取CSV文件 import csv csv_mapping_list = [] 阅读全文
posted @ 2021-10-30 18:55 东山絮柳仔 阅读(242) 评论(0) 推荐(0) 编辑