Python3 Advanced Tutorial 12 - Decorators

preview_player
Показать описание
This is a tutorial first covering how to create nested functions, then how to turn them into Decorators in python 3. As well as how to use the @ shorthand syntax. 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!
Рекомендации по теме
Комментарии
Автор

Thank you so much for these. As someone who's finished an introductory computing specialization in Python, it's somewhat difficult to find resources dedicated to intermediate/advanced stuff. Your tutorials seem to include exactly the things I find myself wondering about.

teddroberts
Автор

I keep coming back to this vid. Over n over. I get it then forget it. If u take this vid down I'm screwed.

absmustang
Автор

Outstanding explanation and for the most part still current. The only thing that is starting to seem dated is the string.format has now been updated with the amazing f"{var_name1} string here {var_name2}" This does not affect the well described concepts you put to words. I hope you will start making new videos again, you have gained a subscriber here. Warning YouTube rant inbound--> I REALLY HATE THAT YOUTUBE SCREWED UP THEIR PAYMENT MODEL I PAY FOR YOUTUBE RED SO HEY YOUTUBE GET YOUR CRAP TOGETHER PAY YOUR CONTENT CREATORS DANG IT!!!! Good work Draps!

iammarkjones
Автор

I'm a little confused regarding the last few lines of code at the 1:20 of the video. In the second last line you assign the first() function to the variable 'func', then the next line you call the func() function, but isn't that the equivalent of calling the first() function? If you assign that function to a variable then use the variable as a function in the last line, I don't see how that's different from just calling the first() function; and I don't see how assigning that function to a variable is related to the second() function which is the comment of the last line. Also, the last 2 lines don't look indented, so they're not part of the first() function definition, is that right? If anyone could clear up my confusion it would be appreciated.

Aaron_
Автор

finally something new in python. Love Python <3

prosanyasi
Автор

Dude, fan of ur work, have u ever considered to make a python personal assistant, AI tutorial?? Would be perfect! Anyway keep going! +DrapsTV

MakerMotion
Автор

Thank you! Very informative! Awesome video series!

OTTOMD
Автор

Thanks for another awesome video! I do find it funny though that you use JS style names for python variables and file names (camel case as opposed to snake case)

cotillion
Автор

amazing tutorials. really enjoy these. thank you

JK-syym
Автор

where can i find example programs of python

RaviKumar-cvgp
Автор

Hi DrapsTV! Thank you so much for the tutorials. I was wondering if there was a big difference between your Python2 and Python3 videos? I'm almost done with Python2 so i wanted to know where should i start for Python3.

Thank again! Great videos

mauriciopedralez
Автор

Ey my friend, thanks for the info. I hacmve a question from a program exam, 'what is the percentage parts that passed the tolerance bands in blue category?' no one of my class knows how to do it. Thanks

antoniomoral
Автор

Always walk through the code when explaining it. You should have went back and explain what each ca does but it wasn't confusing until the last part, I don't know what the inner class with *kwargs tuple does. why do you need the dictionary? is it taking in the string and variable name?

shawnscientifica
Автор

please next video and thanks for videos.

rashedmhamudrone
Автор

Is there a way that you can show us how to make a exe-file of an python 3.5 file please? Thanks a lot in advance! Great channel btw. i am your new subscriber. Your way to teaching is awesome!

Banchuba
Автор

Meanwhile Javascript programmers: "This is nothing...!"

akhileshsharma