February 2022
Intermediate
4m
English
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:
Watch now
Unlock full access