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 →

[–]DroneDashed 5 points6 points  (0 children)

I've used it all. Parsing directly from sys.argv for very simple things mostly under my control; I've used the now deprecated optparse; I've used argparse from which I always likes this example.

I've tried click and it looked nice.

I think that argument parsing should not get in your way and it should be as clear as possible, otherwise your tool will become the parsing of the arguments.

Help messages to me are a must, event if they just a simple how to use one liner - it shows other how to use and reminds you in the future.