Recently I wrote a command-line parsing script using argparse in Python:
argparse
# tmp.py import argparse args =