Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options
Checkout

Cart () Loading...

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

    $

Building a command-line (CLI) app with argparse

GK# 5197

Course Overview

TOP

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.

Schedule

TOP
  • Delivery Format:
  • Date:
  • Location:
  • Access Period:

$

What You'll Learn

TOP
  • 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

Outline

TOP
Viewing outline for:

GK Digital Learning Outline

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

Prerequisites

TOP

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

Who Should Attend

TOP

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

Course Delivery

This course is available in the following formats:

GK Digital Learning

Experience high-quality online learning combined with reliable expert guidance and skills development activities.



Request this course in a different delivery format.
Enroll