This the third article in a series about features that first appeared in a version of Python 3.x. Some of those Python versions have been out for a while. For example, Python 3.2 was first released in 2011, yet some of the cool and useful features introduced in it are still underused. Here are three of them.
argparse subcommands
The argparse
module first appeared in Python 3.2. There are many third-party modules for command-line parsing. But the built-in argparse
module is more powerful than many give it credit for.
read more