字符串格式化 f' ' # 例如: # f'{train_path}/{f}': 将train_path字符串和f字符串结合 # f'{root}.csv':将root字符串和.csv字符串结合 判断字符串是否以…结尾 root.endswith(".csv") # True 未待完续…