File_IO
来源:互联网 发布:淘宝运营操作 编辑:程序博客网 时间:2024/05/16 10:43
Text = '''Hello guysMy name is LambertI like computer graphic especially VFXI like LOLIThat is my life'''file = open('Intr.txt','w')file.write(Text)file.close()file = open('Intr.txt')while True: s = file.readline() if len(s) == 0: break print(s)
0 0