Hacker News new | past | comments | ask | show | jobs | submit login

Great article. Chaining pipes together in Python with subprocess can get a little wordy, but the power is there to do anything you need to do.

It's especially excellent when compared to Ruby. Ruby has a bunch of popen calls, but each one has strange quirks and inflexibility to make it not good for building pipelines.

http://whynotwiki.com/Ruby_/_Process_management#How_do_I_exe...

I'm finding myself using a ton more shell (bash) for pipelines, as this is what it was built to do, but when I need to add more logic its Python and subprocess.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: