Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-800-268-7737 Other Contact Options
Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Building a command-line (CLI) app with argparse

Learn to build a CLI using argparse (a module in the Python Standard Library), and other alternative, third-party packages.

In this course, you will learn how to build a command-line interface (CLI) with argparse (a module in the Python standard library) and with third-party packages that offer alternative approaches and extended functionality. You will learn about adding positional and optional arguments, and then move to advanced topics such as building custom types and custom actions.

This course is available as a subscription for a three-month period beginning at the time of purchase. It includes all course releases, updates, as well as 90 days of instructor support.

You can also purchase this course as part of the Python Developer Bundle or Developer Collection.

GK# 5197
Vendor Credits:
  • Global Knowledge Delivered Course
  • Training Exclusives
  • GSA Eligible
No matching courses available.
Start learning as soon as today! Click Add To Cart to continue shopping or Buy Now to check out immediately.
Scheduling a custom training event for your team is fast and easy! Click here to get started.
$
Your Selections:
Location:
No available dates

Who Should Attend?

Python developers who wants to provide an effective and easy-to-maintain interface to a software product for their customers.

What You'll Learn

  • Build a CLI with argparse, docopt or click
  • Add positional or optional arguments
  • Assign a type and an action to each argument
  • Write a custom type
  • Write a custom action
  • Configure arguments as mutually exclusive
  • Resolve conflicting argument names

Course Outline

  1. Intro to CLI
  2. Advanced CLI
  3. Alternatives and Gotchas
BUY NOW

Prerequisites

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