主页
Python
Python 打开文件
demo_file_readline3
运行 ❯
×
更改方向
保存代码
更改主题
f = open("demofile.txt", "r") for x in f: print(x)
Hello! Welcome to demofile.txt
This file is for testing purposes.
Good Luck!