Video description
Build a very simple command line tool with Python without using external dependencies or frameworks. In this video you'll see how with just a few lines of Python you can transform a file into a script with a help menu. All by using the sys.argv
module and a simple if
statement.
Although you can create more powerful command-line tools with other frameworks like argparse or external libraries like Click, you can still implement a quick script without them that includes a help menu
Useful links:
- Github repo with sample code
- Introduction to Python
Table of contents
Product information
- Title: Fast and Easy Python CLI
- Author(s):
- Release date: February 2022
- Publisher(s): Pragmatic AI Labs
- ISBN: 50128VIDEOPAIML
You might also like
video
Three Most Important Files in a Python Project
Three Most Important Files in a Python Project Short and Sweet Learn about the three most …
video
Python Command Line Tools Course
Python Command Line Tools Course This is a full Python CLI course that will take you …
video
Robust Python CLI
Build a robust Python CLI tool with argparse The argparse module is part of the Python …
video
MLOps Chronicles 11-2021
Learn to build a DevOps Environment, then convert it into a multiple platform experience with AWS …