i pass contents of file along other parameters python script on windows.
on linux, can this:
less input.txt | my_script.py > output.txt
on windows tried following doesn't seem work:
more input.txt | python my_script.py > output.txt
any idea i'm doing wrong?
use following command. works both in linux , windows.
python my_script.py < input.txt > output.txt
Comments
Post a Comment