3 ms·
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
by nzoschke 15y ago
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_execute_an_external_program.3F 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.