📅  最后修改于: 2022-03-11 14:46:00.290000             🧑  作者: Mango
代码示例1
# create a text file for writing
with open(r'E:\pynative\reports\profit.txt', 'w') as fp:
fp.write('This is first line')
pass