content_image/682805.jpg
## Contents 

# Argparse Tutorial Release 3.9.5 

## Guido van Rossum and the Python development team 

June 01, 2021 Python Software Foundation Email: docs@python.org 

<img src='content_image/682805.jpg'>

author Tshepang Lekhonkhobe 

This tutorial is intended to be a gentle introduction to$_{argparse}$, the recommended command-line parsing module in the Python standard library. 

Note: There are two other modules that fulfill the same task, namely$_{getopt}$(an equivalent for$_{getopt()}$ from the C language) and the deprecated$_{optparse}$. Note also that$_{argparse}$is based on$_{optparse}$, and therefore very similar in terms of usage. 

