How I redirect python stdout to C stdin using pipelines in linux

Posted by Robinson on Stack Overflow See other posts from Stack Overflow or by Robinson
Published on 2010-05-16T07:17:36Z Indexed on 2010/05/16 7:20 UTC
Read the original article Hit count: 251

Filed under:
|
|

I have a python script and I want to use the output of it to be the input of other C program. I want to use pipelines, sintax would be:

python_script.py | C_program

but I don't know how to redirect the pythons stdout to C stdin

© Stack Overflow or respective owner

Related posts about stdin

Related posts about stdout