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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -