1. 读取文件# 读取文件import os# 绝对路径# absolute_path = os.getcwd()# file_name = absolute_path + '/test.txt...