Python's Argparse Module

preview_player
Показать описание
#python #argparse #commandline #module

In this lesson we explore in detail python's built-in argument parsing module - argparse. As usually we combine little bit of theory with very colorful and practical examples.
Рекомендации по теме
Комментарии
Автор

Very nice tutorial. When I saw the circle/square example I was thinking that is very easy and I want to see something more advanced but during your tutorial, I was realized that you make a very very good job because you also show how to think like a programmer, not only explain the how argparse works.
I have one suggestion, you should write all code instead of pasting snippets because it will be more readable and people be able to keep up with your code.
Thank you very much! :)

grzegorzgaazka
Автор

This is so helpful to me. I have been struggling with complicated CLI commands and this was very well done.
Is there a place that I can copy the code so I can see it and learn it better?

TheFunny
Автор

cool stuff, I didn't know how to parse two arguments on a single arg option. I think you could also use instead of using subparsers

georgesmith