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 :

enter image description here

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.

enter image description here


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -