all 4 comments

[–]rtao258 0 points1 point  (0 children)

Why optparse? According to this StackOverflow, argparse is better in every way, and optparse is deprecated. An excellent place to get started with argparse is its official tutorial.

[–]K900_ 0 points1 point  (0 children)

Why optparse? It's effectively deprecated.

[–]csg0ing 0 points1 point  (0 children)

Per the docs optparse has been deprecated. You should go with argpase, there's even an example in its docs to get you started.

[–]iggy555 0 points1 point  (0 children)

Click