with open('行裤族f1.txt','r') as f1: 纯此 with open('f2.txt','w'档弊) as f2: f2.write(f1.read()())
python 文件读写多练习就可以了