f = open("d:/py/3/1.txt", "w+")f.write("This is my first project")# for index in range(10): # f.write(str(index) + "\n")f.close()
原文地址:https://www.cnblogs.com/misswjr/p/9380022.html
时间: 2024-10-10 18:09:01
f = open("d:/py/3/1.txt", "w+")f.write("This is my first project")# for index in range(10): # f.write(str(index) + "\n")f.close()
原文地址:https://www.cnblogs.com/misswjr/p/9380022.html