Software engineer, GNU/Linux addict, InnovAction Lab alumnus
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.
level = int(args['--log-level'])
raise ArgsError('--log-level has to be a valid integer')
Manual validation? There is a much better way to do …
Go to the article...
in Python · Thu 29 January 2015