Python3 Advanced Tutorial 3 - Argparse

preview_player
Показать описание
This is a tutorial covering what, how and why to use argparse with python. All Links and Slides will be in the description. Subscribe for more cool stuff!

If you like what you see be sure to subscribe and thumbs up!
Рекомендации по теме
Комментарии
Автор

Appreciate this so much. I couldn't figure out how to add default argument to the command line and this help me alot!

shiningsilence
Автор

After watching this tutorial, i wanted to implement mutual exclusive options, which are required.

In case you guys wanna know how:
group = = True)

jaytrox
Автор

best explanation I've seen.. great JOb!

lazellekeith
Автор

tons of blessings sir, you really helped me in my assignment.

shivamjuna
Автор

thanks man, your video is clear and simple

dsbupadrasta
Автор

Thank you for valuable posting.
Regards,
Girish

giri
Автор

Very good pronouncing and the speaking speed, A'm not speaking english so good, but this is easily to understend!

david_shiko
Автор

thanks for creating this video, it helps

MrBdoleagle
Автор

Excellent - I just have one question where you are showing a group of mutually exclusive options - Shouldn't one of them have action = store_false?

Ezxziose
Автор

What 'store_true' or 'store' option do?

raghavgupta
Автор

What's the difference from print("SomeText"+Variable") and print("SomeText"+Variable)?

ryanproductions
Автор

Great stuff!
Too bad there isn't a standard library that can read in arguments that aren't intended to modify the behavior of the application. For example, needing to read in a DOS/Windows .cmd file, parse it for argument/value pairs and make them available as objects. THAT would be very useful. I'm currently doing it with regex but a standard library for that purpose would be much nicer.

ragtop
Автор

I just try to run your example code on my own computer.

However, it come up with the following error:


AttributeError: 'module' object has no attribute 'ArgumentParser'


I run the code using both python 2.7.6 and python 3.4.3 but have the same error.

I try to google this error message but not much useful solutions.

BennyFung
Автор

Loved your video...and when u say 'oops' :D

samvidgoel
Автор

Hey so what is the point of the __name__? Also I joined your steam group!

Tom
Автор

In the fibonacci, I think you should return b, instead of returning a.

jiefengxu
Автор

Do you know how to calculate time? Of the function?

Eusan
Автор

Nice tutorial, but I spent a lot of time trying to figure out the fiberaca code rather than argparse

markwiygul
Автор

My bad, the 10th number in the sequence IS 55.

leonardjowers
Автор

dude how did you got the ubuntu in taskber? please please tell! is that a VM?

avikmukherjee