This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. Note The getopt module is a parser for command line options whose API is designed to be familiar to users of the C getopt() function. Users who are unfamiliar with the C getopt() function or who would like to write less code and get better