re: Python Scripting Toolbox: sys and fileinput VIEW POST


Great! As someone who uses pipes extensively in scripts, I feel that fileinput is underappreciated in the Python world. Argparse+fileinput is a great combo.


I know, I just discovered it. When I'm writing Ruby scripts, I really love having the ARGF. fileinput is basically Python's version of that, and it makes me happy.

BTW, argparse is going to be featured in Part 2!

code of conduct - report abuse