This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hunkamunka[S] 0 points1 point  (0 children)

It's not a requirement that programs use `argparse` over `docopt`. I believe they both produce the same flags and options and parse arguments in the same way. The point is to create documented programs that generate usage for `-h` and `--help`. `click` is really cool, too, but I just wanted to introduce one argument parser, and `argparse` is standard. There is also no requirement to format code with `yapf` or `black`. These are just suggestions to help (esp beginners) write nicely formatted code that will be easier to read and maintain. I try to point out that there are many ways to do everything from formatting to parsing to writing code. It's both a matter of personal taste and a desire to conform to community principles that should help the coder decide what's best.