https://docs.python.org/3/library/getopt.html
getopt — C-style parser for command line options — Python 3.14.4 documentation
Source code: Lib/getopt.py This module helps scripts to parse the command line arguments in sys.argv. It supports the same conventions as the Unix getopt()...
command line optionspython 3getoptstyleparser