0

I want to use the command line in the following manner: $ echo "yada yada" | python3 file.py

and the python file should use the string followed by echo as input. I have no idea how to approach this, but I assume I should use the sys module in some way?

Thanks on beforehand.

evolhart
  • 1
  • 1

0 Answers0