NhacVibe
Ảnh bìa Getting Started Building a Python CLI With argparse

Getting Started Building a Python CLI With argparse

Real Python · 7,2 N lượt xem · 8 thg 9, 2022

Mô tả

One of the strengths of Python is that it comes with batteries included: it has a rich and versatile standard library that makes it one of the best programming languages for writing scripts for the command line. But, if you write scripts for the command line, then you also need to provide a good command line interface, which you can create with the Python argparse library.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...

The rest of the course covers:
What Actions are Available
Multiplicity
Callable Types and Custom Actions
Sub-parsers