Tags
Language
Tags
May 2024
Su Mo Tu We Th Fr Sa
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1

Fast and Easy Python CLI

Posted By: IrGens
Fast and Easy Python CLI

Fast and Easy Python CLI
.MP4, AVC, 1920x1080, 30 fps | English, AAC, 2 Ch | 4mins | 59.5 MB
Instructor: Alfredo Deza

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


Fast and Easy Python CLI