Learning Python Using argparse for Script Arguments

preview_player
Показать описание
It is very easy within Python to be able to make your scripts just a little more professional and accept arguments like --help, etc. The argparse module is what we look at here, building onto our project scripts we want to be able to create and delete users, so far we have been able to create users but not delete them in the same script. We build up little by little to so how the python script on out Linux host gives us a little more of what we want
Рекомендации по теме
Комментарии
Автор

Great video, tried for too long to understand argparse from the documentation and such, your minimalistic approach to introduce the module was exactly what I needed and allowed me to understand whats going on in minutes, subbed

Jack-fspp
Автор

I can't tell you how happy I was to hear a familiar voice! I watched your videos on Pluralsight several years back and I had no idea that you had a youtube channel.

robertj
Автор

Starts from the very basics, moves on to advanced stuff. Very useful indeed!

prasanna
Автор

Thanks man, great tutorial! After a hint from a german python board to switch from manually reading the argv to argparse I found your video and it was more than helpful! :)

cbarkey
Автор

Thank you for this argparse tutorial

just wanna point out: at 5:06,
+ means any number but at least 1
* means 0 to any number
(regex uses the same notations)

kigesui
Автор

Waaagwaaaan penguin? Thanks for the argparse stuff, Ive waited about a year for someone to do a decent tutorial.

RomaineRC
Автор

Great video ! It helped me a lot in understanding the argparse module :) 

rw
Автор

Going though these videos ..they are great ..request you to upload more on python modules

absinluv
Автор

when i run the script it auto closes what can i do?

malezacaminante
Автор

Thank you a lot, it was really helpful!

vladgoeswild