python - How to pass a program argument via run configuration in Eclipse -
i running python program , want pipe output file. in python command is
"python myfile.py > output.txt"
i'm running program via pydev in eclipse, how can pass in parameter "> output.txt
" run configuration within eclipse ? there not seem option :
when try above receive error :
c:\python27\python.exe: can't open file 'output.txt': [errno 2] no such file or directory
go run configuration of project -> open "common" tab -> find "standard input , output" tab. check "file" , select file want output go.
Comments
Post a Comment