关于读取文件的问题
当我自己用手打的方式创建一个txt文件的时候,使用python读取文件并打印。会报以下错误,求解答。附上代码和文件。os.chdir('E:\\python')f = open('test.txt')
for each in f:
print(each)
请见:https://fishc.com.cn/thread-158932-1-1.html zltzlt 发表于 2020-3-26 17:28
请见:https://fishc.com.cn/thread-158932-1-1.html
非常感谢!谢谢
页:
[1]