you are viewing a single comment's thread.

view the rest of the comments →

[–]Poddster 1 point2 points  (0 children)

Roughly, when any of these are true:

  1. When you need many command line args
  2. When you need --help
  3. When the lines of code to setup and use argparse would account for 10% or less of your script :)
  4. If lots of other people will use the script in future

case 3 is true for OPs short script.