Tagged "docopt"

Python - validate command line args

Ok, in the last article I’ve shown you a tool to write a nice command line interface, but it doesn’t help you on validation.

Read more...

Python - command line interface

How to write a better command line interface with python…

Writing the Nth python shell script I found myself looking again at the documentation of argparse, A NIGHTMARE. After 15 minutes spent trying to understand how to use it I gave up.

Read more...