FileNotFoundError: [Errno 2] No such file or directory:

这个with open的打不开.txt文件成了一个千古之谜了,突然之间就好了。。。

报错:Traceback (most recent call last):
  File "d:\empaticaE4analysis\ledalab-348\SCRAnalyzer.py", line 27, in
    with open(r"D:\empaticaE4analysis\ledalab-348\p_"+str(num)+"_SCRlist_"+str(type_of_file)+".txt", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\empaticaE4analysis\\ledalab-348\\p_1_SCRlist_CDA.txt'

你可能感兴趣的:(python)