Ask HN: How can I add shell pipeline support to my Python program?
Hi there!
I am currently working a program that allows you to fetch HTML data from a file/raw HTML document input, like this:
curl https://gohugo.io/ | soup '.title.text'
I have got the program to work as intended on its own, but now I am getting stuck at supporting the pipeline. Does anyone here have any advice or tips for implementing it?All helps are appreciated!
4 comments
[ 2.8 ms ] story [ 22.4 ms ] thread