Skip to content

Comment on Pythonpy – Command-line Kung Fu with Python

Comments

I didn't think I'd need something like this but it actually seems like it could be quite useful.

I think the "killer" feature is the -x modifer to apply the scriptlet to every line of input. it seems like a nice way of sticking a quick python function into a pipe of commands for when you want that little bit more than the shell (or sed) is offering you.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.