python编译问题—Traceback (most recent call last): File “E:\python\pythonProject\文件读取.py“, line 3, in <
Traceback(mostrecentcalllast):File"E:\python\pythonProject\文件读取.py",line3,inf=open(r'D:\测试.text',encoding="UTF-8")FileNotFoundError:[Errno2]Nosuchfileordirectory:'D:\\测试.text'1.文件路径不对2.文件路径格式不对