2
沒有這樣的文件或目錄我有一個文件,我想上運行腳本:在我的項目目錄中Pydev的
myproject\file1
腳本是myproject\src\script
。
當我去run configurations -> arguments
選項卡,並把file1
,我得到一個:
IOError: No such file or directory: 'file1'
我在做什麼錯?
沒有這樣的文件或目錄我有一個文件,我想上運行腳本:在我的項目目錄中Pydev的
myproject\file1
腳本是myproject\src\script
。
當我去run configurations -> arguments
選項卡,並把file1
,我得到一個:
IOError: No such file or directory: 'file1'
我在做什麼錯?
正如this thread建議,試試你的運行配置的工作目錄設置爲:
${project_loc}/src/script