Python Tutorial: Decorators - Dynamically Alter The Functionality Of Your Functions

In this Python tutorial, we will be learning about decorators. Decorators are a way to dynamically alter the functionality of your functions. So for example, if you wanted to log information when a function is run, you could use a decorator to add this functionality without modifying the source code of your original function. So let's take a look at how these decorators work and a few ways in which we can use them. Let's get started.
First-Class Functions Video: • Programming Terms: Fir...
Closures Video: • Programming Terms: Clo...
The code from this video can be found at:
github.com/CoreyMSchafer/code...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
www.amazon.com/shop/coreyschafer
▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python

Пікірлер: 1 000

  • @lwwells
    @lwwells6 жыл бұрын

    Feels a bit like the first time I saw inception.

  • @heisenolf13

    @heisenolf13

    4 жыл бұрын

    Totally

  • @arvind31459

    @arvind31459

    4 жыл бұрын

    If you go three wrapper levels down then there's no coming back 😄

  • @celebratinglife6239

    @celebratinglife6239

    4 жыл бұрын

    😂

  • @ritikarashmi300

    @ritikarashmi300

    3 жыл бұрын

    the most confusing thing about in inception is keeping track of reality

  • @TheHamous

    @TheHamous

    3 жыл бұрын

    hahaha totally agree

  • @rmalshe
    @rmalshe8 жыл бұрын

    The way you teach programming is really nice! Its very basic, it is paced very well, and it is very logical. In addition you use code snippets that are really concise. Many other videos are either too fast, or too slow, or often simply lack the logic. Often times one can see videos, or written programs but when the teacher doesn't tell why it should be done in a certain way, the inspiration is missing, and then it is very tempting to pick up bad habits that may look simpler, but are inefficient methods. Keep up your good work, and every now and then when I will look for efficiency, I will search for your name :) Now I wish you were a data scientist at Intel where I work.

  • @coreyms

    @coreyms

    8 жыл бұрын

    Hey thanks! I appreciate that.

  • @popik45

    @popik45

    7 жыл бұрын

    No doubt- it's the best tutorial for python!! Thanks 🙏

  • @SuhaibDHD

    @SuhaibDHD

    7 жыл бұрын

    i agree, i've never found tutorial videos more interesting, concise and informative than these. thanks so much!

  • @bisaktobangachi

    @bisaktobangachi

    6 жыл бұрын

    Don't go to Intel leaving your online students. Please keep up this good work.

  • @user-pt6pj9sz9h

    @user-pt6pj9sz9h

    5 жыл бұрын

    Agree,this is the best tutorial video about decorator.Also the best video I've found about python

  • @MrVwin
    @MrVwin7 жыл бұрын

    Perfect Explanation + Good Examples + Good tempo + Nice voice . thank you corey

  • @saitaro
    @saitaro7 жыл бұрын

    Wow now I can decorate my decorators while I'm using my decorated functions

  • @coreyms

    @coreyms

    7 жыл бұрын

    Haha. It's definitely easy to get carried away.

  • @jeff_mci_gaming6018

    @jeff_mci_gaming6018

    6 жыл бұрын

    lolol thats hilarious

  • @Lilly24244

    @Lilly24244

    3 жыл бұрын

    It's hard transitioning from interior design to python

  • @AlexCooper0
    @AlexCooper05 жыл бұрын

    "A decorator is just a function that takes another function as an argument, adds some kind of functionality, and then returns another function."

  • @iamblaineful

    @iamblaineful

    4 жыл бұрын

    And then it becomes JavaScript

  • @orkhanahmadov9963

    @orkhanahmadov9963

    3 жыл бұрын

    @@iamblaineful ahahahahahhahaha and we were running from javascript to python

  • @yogenghodke

    @yogenghodke

    3 жыл бұрын

    Wow. Poetic words

  • @ahmednabielalkanaq3559

    @ahmednabielalkanaq3559

    3 жыл бұрын

    In other words... "A decorator adds some decorations to a function, returning a decorated function!"

  • @basicallypitharous1604

    @basicallypitharous1604

    3 жыл бұрын

    So basically, a decorator is a function, it's created by taking a argument which will be a function by assigning a variable to an argument which is a function that when executes displays some kind of functionality, this variable is turn into a function by using closures since it assigned its self and returned it and made it a function with that, it took advantage of closures creating a decorator? I don't fully understand but I'll get there

  • @jeff_mci_gaming6018
    @jeff_mci_gaming60186 жыл бұрын

    Your hands down the best damn online-teacher i've seen yet...there was one other dude on Udemy , but you've surpassed him...Your videos makes programming twice as fun because you explain things so easily for ppl to understand...I can see how this would result in a person spending hours at the keyboard, generating new ways to implement their code with their newly-learned information ( at least that's what your videos have done for me!! lol)....thanks for your hard work, Corey.

  • @coreyms

    @coreyms

    6 жыл бұрын

    Thanks! I appreciate that

  • @aziz5556

    @aziz5556

    6 жыл бұрын

    who is that dude on udemy, I hope you didn't mean jose

  • @jeff_mci_gaming6018

    @jeff_mci_gaming6018

    6 жыл бұрын

    nope not him...out of respect, i would rather not say this person's name. :)

  • @akshitaggarwal7878

    @akshitaggarwal7878

    5 жыл бұрын

    @@aziz5556 Tony Alicea of Wired part of javascript. Respect Corey a lot but everyone has right to know handful of good teachers :)

  • @william3588

    @william3588

    4 жыл бұрын

    @@aziz5556 is jose portilla bad?

  • @dheerajkumar2534
    @dheerajkumar2534 Жыл бұрын

    PURE GENIUS. BEST VIDEO ON KZread ABOUT DECORATORS.

  • @ninonazgaidze1360

    @ninonazgaidze1360

    Жыл бұрын

    I agree

  • @monasamir5288
    @monasamir52882 жыл бұрын

    I have no experience in programming whatsoever so my expectations for understanding the concept of decorators were pretty low. However, to my own surprise, after I finished the video, I managed to write and successfully run an entire decorator with no errors whatsoever. Thank you won't be enough! You have got a real talent in simplifying extremely complicated topics to non technical people such as myself and I'm extremely thankful that I got to witness this talent. God bless!

  • @hitmanLis
    @hitmanLis7 жыл бұрын

    You could be the best instructor in the entire world... nice flow!

  • @snyredbaron21
    @snyredbaron215 жыл бұрын

    Corey, you never cease to amaze me! I had seen and read several videos and docs about decorators, but I always ended with doubts and more questions. But I think I finally understand very well all I need to know about decorators. Thanks for your videos!!!

  • @chiefmofo
    @chiefmofo6 жыл бұрын

    This is the best explanation of decorators that's I've come across. Kudos!

  • @caio-jl6qw
    @caio-jl6qw5 жыл бұрын

    The proper way to never forget how decorators work is just keeping in mind what that '@' syntax means: @decorator def function(): ... is equivalent to: function = decorator(function).

  • @oguzhantopaloglu9442

    @oguzhantopaloglu9442

    3 жыл бұрын

    "decorator(function)() " would be more accurate I think...

  • @oguzhantopaloglu9442

    @oguzhantopaloglu9442

    3 жыл бұрын

    @@Sciencedoneright 3 IQ

  • @Sciencedoneright

    @Sciencedoneright

    3 жыл бұрын

    @@oguzhantopaloglu9442 why tho

  • @Sciencedoneright

    @Sciencedoneright

    3 жыл бұрын

    @@oguzhantopaloglu9442 me have 120 IQ

  • @Sciencedoneright

    @Sciencedoneright

    3 жыл бұрын

    @@oguzhantopaloglu9442 me intelecc

  • @randiarisman2419
    @randiarisman24194 жыл бұрын

    I don't know why, but I never watch full ads before on any youtube channel, but this is the first time I watch all 2 ads, 1 in 2 minutes because I could not support you by money or else. All of your good videos makes me still able to work in my current dying job with my dream that getting my new job in my bright future. Thank you, Corey!

  • @vxz90044
    @vxz900444 жыл бұрын

    What an amazing teacher. Making the complex; simple. Thank you good sir.

  • @narekisaghulyan8959
    @narekisaghulyan89595 жыл бұрын

    Corey, amazing tutorials. every time I see you have a tutorial regarding the topic I'm looking for I already know I'll understand it. You should do this full-time. I'll donate :)

  • @badoiuecristian
    @badoiuecristian4 жыл бұрын

    Your clarity on how to start simple then expand into more complex examples in a logical way is amazing.

  • @mpertalulaki4186
    @mpertalulaki41867 жыл бұрын

    your python tutorials are works of art; really concise and educational; thanks

  • @majed316
    @majed3165 жыл бұрын

    This is the first contact for me with decorators and surprisingly i have got it completely, that's rarely happen to me specially with such complicated concept, usually I need a week at least and tons of resources to make sense out of it. Your videos invaluable treasure, We couldn't thank you enough no matter how many times we say thank you. You are literally my hero.

  • @coreyms

    @coreyms

    5 жыл бұрын

    Thanks! Glad you found it helpful

  • @Oda3908
    @Oda39084 жыл бұрын

    Corey, you are a true mentor and master of programming. I was just trying to remember what its definition said but couldn't understand how it works for those complex explanations. You make it concise and clear, show it in a logical and straight forward way. I just want to say thank you that for all of your tutorial videos you saved so many self-taught programmers.

  • @raphaelpz
    @raphaelpz4 жыл бұрын

    Each and every video I watch from you helps me feel a bit more like a programmer and pushes away the good old impostor syndrome... you are simply the best coding teacher on the internet and I am so grateful to have come across your channel while re-training to become a developer. Thank you so much.

  • @techcode_man
    @techcode_man6 жыл бұрын

    Corey, You are a hero! Thank you so much for these videos, these are the best Python videos I have seen. Your teaching methodology is second to none. Thank You!!!

  • @muzik6808
    @muzik68084 жыл бұрын

    u r the best example for humanity.. that u r providing such kind of education.. that we cant get after paying somewhere..

  • @harikamacharla7005
    @harikamacharla70055 жыл бұрын

    You are too good at teaching. That's only possible when you have a clear idea of every minute thing happening and the order in which it happens. Hats off! and thanks for taking your time and teaching such complex content in such an easy way.

  • @Chineeex
    @Chineeex3 жыл бұрын

    Hands down the best tutor! Your way of explaining even the most complex topics with easy to understand examples, as well as your explanations are amazing! I would like to thank you for taking your time to make all these amazing tutorials!

  • @akash__choudhary
    @akash__choudhary4 жыл бұрын

    Corey, you are the best, I attended many online courses, some are paid but none of them was as good as you. you teach what id important and the way you explain basics,it is superb.thank you for sharing your knowledge free and guiding many of beginner python students like me.

  • @amanmaldar
    @amanmaldar6 жыл бұрын

    1:25 The variable 'message' wasn't created inside the inner_function but inner_function does have access to message variable. This is called free variable. Spot on. Thanks for the awesome description.

  • @deserve_it
    @deserve_it5 жыл бұрын

    This is an another example of the very common witty remark.Thing is not complicated as it looks from a first glance, we only need a proper man who can explain it clearly. You are the man ! Thank you very much!

  • @atul6981
    @atul69817 жыл бұрын

    I search your channel first if there is anything I don't understand in Python, and I am never disappointed. Thank you so much for sharing these videos. And keep them coming. Cheers!!

  • @felixlucaciu
    @felixlucaciu6 жыл бұрын

    Thank you Corey! Your tutorials are surpassing even the ones offered by Pluralsight!

  • @sphiwematone8196
    @sphiwematone81963 жыл бұрын

    Nobody has ever really had this impact in my life honestly, you sir are my hero I dont even have enough words to describe how great you are. It's also fascinating and soo godly how someone you have not even met can have this amount of impact in your life. You have done for me what no one else has ever done to my life, I moved from being a complete novice to intermediate and I'm hoping to keep learning from your videos. You are the best💯💫👑

  • @coreyms

    @coreyms

    3 жыл бұрын

    Wow, thanks so much for the kind words. I'm really happy to hear the videos have helped :)

  • @santos3131
    @santos31313 жыл бұрын

    Very well paced, comprehensive, and has concise examples. One of the best tutorials I've seen, got all the info I needed in 5 minutes

  • @livingwithlinlin3122
    @livingwithlinlin31223 жыл бұрын

    Best decorator tutorials with best practical examples. Not a long video considering how much info it covers. Well worth the time.

  • @jamesfrank3421
    @jamesfrank34216 жыл бұрын

    You have got to be one of the best teachers I have ever come across. You explain complicated concepts extremely well. Thank you for your time and effort

  • @karthikvenkataram4790
    @karthikvenkataram479011 ай бұрын

    This content is a boon for newbies like me to learn better about decorators and wrappers. Thanks a lot Corey Schafer 🙏

  • @gouthamanush
    @gouthamanush6 жыл бұрын

    I have watched several videos and read several websites to know about decorators but no one could explain me clearly the functionality of a decorator. Now it's crystal clear :)

  • @mahesh9762132636
    @mahesh97621326366 жыл бұрын

    No one Could ever make decorator understand to anyone this better. I find myself lucky to find you on KZread and I admit without any doubt, you are SAVIOUR to all those commenting down below..Thanks a ton

  • @AriaHarmony
    @AriaHarmony6 жыл бұрын

    Crystal clear! I finally get decorators! Thank you very much!! :D

  • @armanveersinghgill2801
    @armanveersinghgill28015 жыл бұрын

    For those who have just watched the videos on first class functions and closures, video starts at 4:40.

  • @draco_storm_888

    @draco_storm_888

    4 жыл бұрын

    5:30 jej

  • @dropdimes8509

    @dropdimes8509

    4 жыл бұрын

    i love this community. appreciate the heads up.

  • @jismathew3573
    @jismathew35734 жыл бұрын

    I like your way of teaching, you build up a concept right from its base explaining from its roots and by the end of the tutorial you show the possibilies one can implement using the functionality. The possibilities you show inspires one to try it in their code, you have opened doors for pythonistas across the globe to raise their standards. Thanks Corey

  • @landw1802
    @landw18023 жыл бұрын

    Best Python tutorial came across so far - great pace, materials, and such a nice unwrap of the mysteries around “wrapper”!

  • @ponnuvel659
    @ponnuvel6595 жыл бұрын

    I have suggested your tutorial to all of my friends. you are helping many people keep doing , thanks a lot from india.

  • @jamesbrown6591
    @jamesbrown65915 жыл бұрын

    by far the best tutorials for python i've come across

  • @jpmol17
    @jpmol173 жыл бұрын

    It's impressive how after 5 years your videos are still helpful and relevant, even though it's from early version of python. Great content man, very didactical !

  • @prathameshmahankal4180
    @prathameshmahankal41804 жыл бұрын

    No matter how many tutorials I see, none of them can compare yours! Great job, sir!

  • @amardeepbhowmick3614
    @amardeepbhowmick36144 жыл бұрын

    This video is a true GEM! You should really consider making an Udemy course. I will share this with all of my Python enthusiast friends. Thank you Corey!

  • @jasonclement6305
    @jasonclement63055 жыл бұрын

    These python tutorials are the best on youtube.

  • @parhamk75
    @parhamk754 жыл бұрын

    This tutorial was the best; It expresses the depth of your comprehension and mastery on this issue!

  • @suhailahamed4991
    @suhailahamed49916 жыл бұрын

    I just walked through this video regarding decorators, additionally i knew what are Clousers and First Class functions....Really, ur teaching is awesome Sir. Thank you

  • @ex0stasis72
    @ex0stasis724 жыл бұрын

    You taught this better in 30 minutes than my university professor taught this in 2 hours.

  • @danailpetrov
    @danailpetrov4 жыл бұрын

    I just had to say this. I’ve been doing some programming for about 15y now but this isn’t my ‘bread and butter’ so often I’d stuck on a topic (which in this case was the decorators in python) and believe me, I’ve read quite a lot blogs, articles, etc, and as many others I just ended-up here... I can finally say I do understand it and it all makes perfect sense. Thank you for your time and efforts doing this fantastic job! P.s. I really hope my appreciation somehow hopes you pay the bills too ... lol ;-) (I liked, subscribed, etc :-))

  • @coreyms

    @coreyms

    4 жыл бұрын

    Thanks! I’m glad the video helped. And yes, liking and subscribing helps very much! Thanks again!

  • @MrRijoAlex
    @MrRijoAlex6 жыл бұрын

    First off, Amazing Video; really well explained!! I spent the whole day trying to understand what decorators & closures were until I came across your videos. I don't think that this video was particularly long for it's nature of intuition and complexity. Thank you so much, Corey!! *Subbed for life* :D

  • @frederickchesneau1155
    @frederickchesneau11554 жыл бұрын

    Hey Corey, I am going through your videos which are awesome. This one in particular is mind blowing! I was able to understand the concept during the video and you saved me countless hours of coding and reading :). Keep it up!

  • @elibaum5489
    @elibaum54894 жыл бұрын

    watched this video 4 times. Don't regret it.

  • @krishnakanth6106
    @krishnakanth61065 жыл бұрын

    OMG !!!!...You made my day...Best video so far on Decorators...My search ends now :)

  • @g2nd
    @g2nd4 жыл бұрын

    Finally, a python developer who uses names on functions and variables clearly. Unlike those that I watched prior to this, using f, f1; tire, tires; div, div1. Thanks Corey! This made following the execution flow easily and effortlessly.

  • @graycybermonk3068
    @graycybermonk30685 жыл бұрын

    You are really Killing. I am trying to understand Decorator more than 2 months. But after your tutorial. Every this is clear. Respect.

  • @thsdsyt
    @thsdsyt4 жыл бұрын

    This videos was awesome! Really simple examples for complex tasks. The only thing that I couldn't grasp properly was the idea the wrap decorator inside the functools module. Maybe a video about this specific decorator should clarify this tool a little more. Thank You!!!

  • @veganath
    @veganath7 жыл бұрын

    My head hurts, I hope I'm not the only one who had to watch this 3 times....lol. BTW wonderful tutorial thanks

  • @nxxxxzn

    @nxxxxzn

    7 жыл бұрын

    veganath yeah it takes some effort to WRAP one's head around these things at first :D

  • @swapnashambhu
    @swapnashambhu5 жыл бұрын

    The best python tutorial I have come across, you saved my life. Thank-you Corey

  • @thebuggser2752
    @thebuggser27522 жыл бұрын

    Great presentation of a difficult topic. Very thorough and complete. In general, most Python concepts are pretty intuitive. I find decorators to be anything but intuitive and you did an excellent job of explaining it.

  • @timurbabadjanov9115
    @timurbabadjanov91156 жыл бұрын

    You explain this shit better than most of the professors in my school! Thank you Corey!

  • @Chayo016
    @Chayo0167 жыл бұрын

    Awesome video! I have an exam in like an hour and you actually made me understand the contents :D You are a very good teacher. I'll definitely watch more of your videos when I'm less in a hurry :)

  • @coreyms

    @coreyms

    7 жыл бұрын

    Good luck on your exam!

  • @bhanuchirutha

    @bhanuchirutha

    Жыл бұрын

    ha ha puka

  • @meghaaggarwal8508
    @meghaaggarwal85084 жыл бұрын

    Thanks Corey for this indeed amazing tutorial. You are pretty good at giving us strong basic fundamentals on Python!! Such a crisp explanation of decorators

  • @MsSuyash1995
    @MsSuyash19955 жыл бұрын

    This was an excellent tutorial video on decorators. I have watched a lot of videos as well as read a countless number of articles/blogs on the topic... And, yet I haven't seen this kind of fluency... I absolutely love how your structure and organize your videos and then, deliver them with great control on the tempo... At no point, I felt lost or thought to myself, I couldn't understand the concepts being shown on the screen... I consider your channel to be the best Python based channel on KZread... While I do admire a lot of other channels, like Dan Bader's and the likes, but somehow your impeccable didactic skills make your channel a must for any Python developer, especially beginners... Please keep doing your excellent work... And, I read your interview (that you gave on RealPython.com) and I really appreciate that you have granted access to everyone... So, young learners (especially students who are not financially capable) who are unable to pay the premium to gain access to high-quality resources on Python.

  • @kelvinquinonez7694
    @kelvinquinonez76947 жыл бұрын

    These tutorials are amazing!!!

  • @jayeshvasudeva1133
    @jayeshvasudeva11333 жыл бұрын

    when he explained *args and **kwargs, tears fell down my eyes

  • @tushardeshpande8593
    @tushardeshpande85933 жыл бұрын

    You are true teacher Corey. Your videos are very precise to the topic, with a lot of logic and a perfect explanation. Thank you for your contribution. We respect you!!

  • @innerpeace2139
    @innerpeace21394 жыл бұрын

    I am in Pluralsight right now as its free for the whole month of April due to Covid, as I am doing the courses of Bingham and Smallshire, I just had to run to your video as I knew I will be more enlightened. Well worth my time. You are very good teacher and thanks a lot!

  • @DigitalDivotGolf
    @DigitalDivotGolf5 жыл бұрын

    For me this was very confusing to learn but after watching this video 30 times i finally understand it. I would have for sure been left behind in school.

  • @omarfsosa
    @omarfsosa5 жыл бұрын

    Dude, I seriously hope someone, somewhere, is paying you a lot of money for your knowledge xD

  • @novicetech1
    @novicetech16 жыл бұрын

    Hi Corey - This was awesome and very helpful. Please do more of these. As you know, I'm new to Python programming (programming period really) so I am always looking for practical ways to use what I learn and your videos are the only ones I use. Thanks.

  • @kevon217
    @kevon217 Жыл бұрын

    You’re an excellent teacher. Best tutorial on decorators I’ve seen so far.

  • @rushikesh8132
    @rushikesh81324 жыл бұрын

    This Guy is A Fucking Legend And a GOD At Teaching Programming . Absolute Madlad . All the respect . Hope I will Repay Him Someday !

  • @user-pt4vn5hr2z
    @user-pt4vn5hr2z4 жыл бұрын

    Thank you corey, you are the best :)

  • @bobfish7699
    @bobfish76994 жыл бұрын

    Another great tutorial. The more I am exposed to Python, especially with the help from these videos, the more I like the language. It is so logical and elegant. I wish it was around in my youth when I started coding, it would have taken over the coding world by now. And I think it will,,,,

  • @xiaolu7988
    @xiaolu79885 жыл бұрын

    Very clear explanation. I already knew how to use a number of decorators but this is a great review for me to understand the decorators better. Thank you.

  • @MrMartinfo
    @MrMartinfo7 жыл бұрын

    my wrapper function couldn't wrap head function before. After seeing your video my wrapper get's the head function to work :D :D :D good work mate, keep up

  • @Max24871

    @Max24871

    7 жыл бұрын

    nobody knows Is this a play on 'could not wrap my head around this' ?

  • @MrMartinfo

    @MrMartinfo

    7 жыл бұрын

    BMicraft Hehe yep. Sarcasm detected :D

  • @sunitgautam7547

    @sunitgautam7547

    6 жыл бұрын

    Lol! XD

  • @aramhamidi7080
    @aramhamidi70807 жыл бұрын

    Best tutorial!

  • @coreyms

    @coreyms

    7 жыл бұрын

    +Aram Hamidi Thanks, Aram. I saw a notification of another comment of yours about the logging decorator not being applied to both of your functions. I can't find that comment now, so maybe you've got it working. But if you have any further questions just let me know and I'll do my best to answer. Thanks again.

  • @aramhamidi7080

    @aramhamidi7080

    7 жыл бұрын

    Hi Cory, thanks for noticing. I deleted that comment because I realized the problem was in my own code. You did a great job explaining this subject that I don't have any questions for now. Thanks again.

  • @dadestor
    @dadestor3 жыл бұрын

    Corey you are amazing! I have been having trouble understanding the concept of decorators but this tutorial has made it perfectly clear for me!

  • @stillinmusic
    @stillinmusic6 жыл бұрын

    So helpful! I finally understand decorators. What a brilliant explanation.

  • @kanakanayahamselvendira7690
    @kanakanayahamselvendira76907 жыл бұрын

    Excellent Teaching. I have watched so many people tutorial but your's the best. Is there anyway I can get your scripts in the printable format or download those tutorial files Please? It will be very handy.

  • @deeeeeds

    @deeeeeds

    6 жыл бұрын

    I doubt you're still looking for this but for anyone who might stumble on this video later, there's a GitHub link in the description.

  • @michael_d2
    @michael_d27 жыл бұрын

    Hi Corey, 1. First of all- very nice! 2. Do you have some repository with a code from the video?

  • @sejalp

    @sejalp

    7 жыл бұрын

    Yes the code snippets that you used, will be handy thing to have to try out. Very nice tutorials indeed.

  • @maxguichard4337

    @maxguichard4337

    6 жыл бұрын

    The code used in his videos can be found in the description. This video's code can be found at: github.com/CoreyMSchafer/code_snippets/tree/master/Decorators

  • @mohammadamini1997
    @mohammadamini1997 Жыл бұрын

    The materials and the practical points were presented so wonderfully. Thank you so much for your great work.

  • @digitalaks
    @digitalaks6 жыл бұрын

    Just at the moment when I was getting question "What if I want timer as well as logging?" you come up with explanation for that. Wonderful mind reading of the viewer!

  • @PR0MINENCE
    @PR0MINENCE4 жыл бұрын

    Decorating rappers

  • @weiso498
    @weiso4986 жыл бұрын

    decorator should be called inceptionator instead....

  • @sciencecompliance235

    @sciencecompliance235

    5 жыл бұрын

    func-ception

  • @alladamk
    @alladamk4 жыл бұрын

    Absolutely spot on, and to the point. Really appreciate the way you are teaching. Thanks for sharing your works.

  • @d_learner7573
    @d_learner75736 жыл бұрын

    You are an inspiration for me. I learn from you things that look impossible to learn for me. Thanks a lot.

  • @exactpoint9795
    @exactpoint97954 жыл бұрын

    Absolutelly plain and clear! Thank you for your explanation! No doubt you are very good teacher. As for me (and other people;)) you made stops and repeats just as it needed.

  • @garyjeffersii6735
    @garyjeffersii67358 жыл бұрын

    Thanks for your great videos. I'm still trying to wrap my head around closures and decorators and your videos are helping greatly.

  • @anumalik9555
    @anumalik95553 жыл бұрын

    This is simply amazing.. your tutorials are really logical, conceptual, precise, and explain everything that make python a lot easier to understand. Thanks for posting tutorials. A big thanks... :)

  • @biophr34k
    @biophr34k7 жыл бұрын

    Hands down, best viedo on Python decorators in my humble opinion. Thanks a lot and congratulations!

  • @hat0601
    @hat06014 жыл бұрын

    I wish I had known your videos years ago it would have saved half of my python learning time! Thanks so much for making these videos.

  • @arthurpenndragon6434
    @arthurpenndragon6434 Жыл бұрын

    I was intimidated at first but your explanation is amazing! By the end with a little bit of coding-along I was able to catch up. Thank you for your work.

  • @saulgarza9859
    @saulgarza98597 жыл бұрын

    I learned more about decorators with you in the first 15 min than I did with my professor in the two weeks he taught. Bless up homie, need to ace this final in two day.

  • @tassoskat8623
    @tassoskat86234 жыл бұрын

    This was an enlightening video on decorators. It really helped to better understand this concept that is crucial for my university studies. Thanks

  • @omarabulaban_me
    @omarabulaban_me5 жыл бұрын

    Perfect, so far the best touter in youtube, i am not going to mention what others mentioned coz it's all true. Good job and keep up

  • @deepak55793
    @deepak557935 жыл бұрын

    Thanks a lot for your explanation on decorators, helping millions to learn the difficult topic in easy way.

  • @PradeepKumar6
    @PradeepKumar66 жыл бұрын

    This is best explanation on decorators, your all the videos are great. Thanks for putting it on you tube for people like me.

  • @trackstr1
    @trackstr18 ай бұрын

    I love this man. I followed along by coding along and it has helped me gain a better understanding of decorators