Argparse Tutorial - Python 2023 (Creating Your First CLI)

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 22

  • @AICodingAdventures
    @AICodingAdventures 4 месяца назад

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

  • @HitBoxMaster
    @HitBoxMaster Год назад +3

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

  • @abdooowd
    @abdooowd 2 года назад +2

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

  • @zluka7951
    @zluka7951 2 года назад

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

  • @ottomarjo7395
    @ottomarjo7395 Год назад

    Oh thank you! This video helped me a LOT

  • @nordgaren2358
    @nordgaren2358 2 года назад

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

  • @kabakiAntony
    @kabakiAntony Год назад

    This is just awesome, great work.

  • @vanmutt8644
    @vanmutt8644 Год назад +2

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

  • @codewithpranoy
    @codewithpranoy 2 года назад +9

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

  • @grzegorzryznar5101
    @grzegorzryznar5101 2 года назад

    Really nice video! I like it!

  • @blevenzon
    @blevenzon 2 года назад

    So useful and informative thank you so much

  • @kaanyucel6294
    @kaanyucel6294 Год назад

    nice teaching

  • @philtoa334
    @philtoa334 2 года назад

    Good , thx.

  • @dolla_shrey
    @dolla_shrey 2 года назад

    gr8 sir

  • @Kornackifs
    @Kornackifs Год назад

    great

  • @yunoletmehaveaname
    @yunoletmehaveaname 11 месяцев назад

    Is there a part 2?

  • @aymen_x_kdr
    @aymen_x_kdr 2 года назад

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

  • @mrQBS_
    @mrQBS_ Год назад

    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?

  • @murphygreen8484
    @murphygreen8484 2 года назад +1

    Early club!

  • @sya0802
    @sya0802 2 года назад

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