More Command-Line Goodness
In Command-Line Applications, we looked at a Python main-import switch which boiled down to this.
for file in args.file:
with open( file, "r" ) as source:
process_file( source, args )
The point was that each distinct file on the command-line was processed in a more-or-less uniform way by a single function …
more ...