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

Bernd Waterkamp Bernd-Waterkamp at
Wed Aug 12 18:42:49 CEST 2015

Mark Lawrence schrieb:

> The wonderful 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:

More information about the Python-list mailing list