开发者

No such file or directory in Pydev

开发者 https://www.devze.com 2023-01-10 04:33 出处:网络
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.

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.

When I go to 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
0

精彩评论

暂无评论...
验证码 换一张
取 消