t.py 125 Bytes Edit 1 2 3 with open(r'C:\Users\makcoo\Desktop\',text-txt,encoding='utf-8')as file: file.write('新年快乐') #file.close()