Build an Advanced CLI with Argparse

Start Course
level
Introductory
Subject
Software Development
Course Length
1 hour 25 minutes
Subscription
Foundation

Course Description

The simplistic design, small footprint, and self-documentation of CLIs make them ideal for automated or scheduled tasks. One way to build CLIs is using argparse, a module in the Python standard library. In this course, you will learn about argparse's advanced options such as setting the argument type, changing its behavior by assigning an action, and configuring mutual exclusion. You will also delve into writing your own custom types and custom actions for even more granular control over behavior.

Requirements

  • A basic command of the Python language and its standard library.

Instructors

Brian Wolf

Proven project leader and 36 year veteran with extensive hands-on experience over entire software lifecycle.