newTXT.close()File "C:\Python33\mypy\txt creator.py", line 16, in create_fileFileNotFoundError: [Errno2] No such file or directory:
从我在谷歌上看,这个错误意味着错误的路径或文件找不到。但是我检查了sys.path,在我的路径中看到了
当我尝试在pycharm中创建一个新项目,并选择我的基本inerpreter作为C:\Anaconda3\python.exe时,发生了这个错误。, dst) with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno2] No such file or director
我的程序需要读取一个包含用户名和密码的外部记事本(.txt)文件。(程序和文档都在我的桌面上。)我使用这段代码来读取它。file = open ("userDetails.txt", "r")
但是我一直收到这个错误:
FileNotFoundError: [Errno2] No such file or directory: '
我是python的新手,我正在使用pydub模块来播放mp3曲目。#Let's play some mp3 files using python!File "/usr/lib/python3.4/subprocess.py", line 1446, in _execute_childFileNotFoundError: