Is this a correct way to generate an exception when getting a wrong parameter

Bernd Waterkamp Bernd-Waterkamp at web.de
Wed Aug 12 12:42:49 EDT 2015


Mark Lawrence schrieb:

> The wonderful http://docopt.org/ makes this type of thing a piece of 
> cake.  I believe there's a newer library that's equivalent in 
> functionality to docopt but I can never remember the name of it, anybody?

Never used it, but "Click" is another choice: http://click.pocoo.org/4/



More information about the Python-list mailing list