No such file or directory in Pydev
I have a file in my project directory that I want to run a script on:
myproject\file1
The script is in myproject\src\script
.
run configurations -> arguments
tab and put file1
, 开发者_JAVA技巧I get an:
IOError: No such file or directory: 'file1'
What am I doing wrong?
As suggested in this thread, try setting the working directory of your run configuration to:
${project_loc}/src/script
精彩评论