Now you know what a command line interface is and how you can create one in Python by using the Python
In this video course, you’ve learned:
- What the Python
argparselibrary is, and why it’s important to use it if you need to write command line scripts in Python
- How to use the Python
argparselibrary to quickly create a simple CLI in Python
- What the advanced usage of the Python
Writing a good command line interface is a good way to create self-explanatory programs and give users a means of interacting with your application.
For alternatives to
argparse, check out:
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.