Fast and Easy Python CLI /
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...
| Main Authors: | , |
|---|---|
| Corporate Author: | |
| Format: | eBook |
| Language: | English |
| Published: |
Pragmatic AI Solutions,
2022.
|
| Edition: | 1st edition |
| Subjects: | |
| Online Access: | Connect to this electronic resource |
| Summary: | 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 |
|---|---|
| Physical Description: | 1 online resource (1 video file, approximately 5 min.) |
| Format: | Mode of access: World Wide Web. |