Argparse Tutorial - Python 2023 (Creating Your First CLI)

preview_player
Показать описание
Welcome to your first argparse tutorial! Here we will be exploring the basics and everything you need to know to get start with using argparse in Python to create some cool Command Line Interfaces (CLI).

▶ Become job-ready with Python:

▶ Follow me on Instagram:
Рекомендации по теме
Комментарии
Автор

Very useful video! I like how concisely you mention all that is needed to build quite complex cli tools without much extra blah, blah.

AICodingAdventures
Автор

Pretty good primer. Detailed but without unnecessary flourish. Also, very easy to understand and a very good speaking rhythm and voice. Great mini-class!

HitBoxMaster
Автор

This guy is so underrated! His tutorials are awesome and useful! Great work dude 👍🏻

abdooowd
Автор

argparse is one of my favorite arg parsing library in any language, including Go, Rust and C#.

💯 Would recommend.

nordgaren
Автор

thank you for the video! waiting for the next one about argparse

zluka
Автор

Oh thank you! This video helped me a LOT

ottomarjo
Автор

Think what is being referred to as positional argument are the options or flags. # positional argument
parser.add_argument('-c', '--count') # option that takes a value
parser.add_argument('-v', '--verbose',
action='store_true') # on/off flag

vanmutt
Автор

Suggestions for part 2: create a command line interface with beautiful userinterface and generate boilerplate code.

codewithpranoy
Автор

So useful and informative thank you so much

boristhegeek
Автор

It's good if you do simple libraries such as argparse, regex, ...even random

aymen_x_kdr
Автор

if I want to do some more than one operation on CLI and link it for example with bnb-chain system, how can I do it?

mrQBS_
Автор

How To Add Multiple Commands? &
How to Add Commands To Variable Path?

sya
join shbcf.ru