This channel is easily one of the best python tutorial channels there are, if not the best one
@SparePlayss3 жыл бұрын
Hence proved.. KZbin's Recommendation is faster than KZbin's Notification
@NeuralNine3 жыл бұрын
:D
@destiny_023 жыл бұрын
Uploaded : 4 hours ago This comment : 5 hours ago How in the whole damn world did you made a time machine ?
@SparePlayss3 жыл бұрын
@@destiny_02 Lmao KZbin go brrr
@ronakshah38916 ай бұрын
Can we have multiple decorators declared for a single function. For example, logging the result and calculating the time.
@tomasgorda3 жыл бұрын
great video again, thank you very much. What environment do you using ? It looks like vi with some staff around (files structure, compilator etc.) I'm using sublime text with kite for example. Thanx a lot for your answer.
@harrybestfriend52823 жыл бұрын
its neovim i think with a custom theme,
@tomasgorda3 жыл бұрын
@@harrybestfriend5282 ok thank you very much 👍
@harrymagooslum57702 жыл бұрын
Yours was the only KZbin explanation of Decorators in Python that actually demonstrated the practical use. I thank you greatly for that because the lightbulb turned on brightly as a result. You did a really nice job of it and I look forward to checking out other instructional videos that you make.
@ismahenelarbi7386 Жыл бұрын
I also recommend key2learn's videos about closures :)
@lxathu Жыл бұрын
And the only (or at least the first) one I've seen that doesn't leave the viewer alone with the question if calling the wrapper explicitly or by the decorating syntax are the same.
@renxooo59623 жыл бұрын
i always get hyped up but instantly get lazy when ima bout to code
@NeuralNine3 жыл бұрын
Push through it you will be happy afterwards :)
@01akbarikrunal243 жыл бұрын
def decorater(fun): def wrsper(): print("wraper fun") hello() return wrsper() def hello(): print("main function") decorater(hello)() error wraper fun main function Traceback (most recent call last): File "E:\learn\youtube.py", line 11, in decorater(hello)() TypeError: 'NoneType' object is not callable
@Alexander-dj1jp2 жыл бұрын
in your function you take "fun" as an argument, but then you try to call "hello" inside that function, you would need to call "fun" because that was your argument "hello" isn't defined inside "decorator" function, that's why you get the error.
@JTadeo128 Жыл бұрын
I'm just thinking how bad a deaf rapper would be
@antonioaugilar168 Жыл бұрын
Intro is annoying but the content is good.
@asaoppenheimer69443 жыл бұрын
Please make some video on VIM editor. How to use it with Python. How to split it like in your video. And basic commands of course.
@yooyooman3d3 жыл бұрын
Second
@alex_mahone3 жыл бұрын
The timing of this lesson is perfect! I actually have to go over a script that uses pytest and a lot of decorators with one of our engineers with not a lot of coding background tomorrow. This lesson makes explaining a lot easier! Thank you!
@skrinkz82013 жыл бұрын
I haven't seen a notification nor seen an update for any of your videos in my feed for the last probably 3-4 weeks O.O
@NeuralNine3 жыл бұрын
click the bell ^^
@arihannntАй бұрын
Just a quick query! What if we do something recursive in the function for instance I tried timing how long does it take to execute a factorial function! The recursive implementation kinda went haywire. Would love to know if there's a clean way to handle that
@WZNuget2 жыл бұрын
Note: doing decorator(function)() wont work on python 3.9 it will throw you a type error instead just do decorator(thefunction) it will call the wrapper automatically edit: if your returning the function you can use the functobecalled(function)() thing
@cytolytic3 жыл бұрын
you must do a video on your vim config
@NeuralNine3 жыл бұрын
I will :)
@cytolytic3 жыл бұрын
@@NeuralNine thanks :D
@TestingQuantumSoftware2 ай бұрын
I like that you don't spend time on bs. You go direct to the point, have a clear explanations, good examples and overall great content! congrats!
@YerNar-g6t8 ай бұрын
thank you very much brother!!!!! lovely videos pls dont stop, wish you all the best! cause you r the best!!!!!!!!!!!!!
@mj2068 Жыл бұрын
fun observation: the reason why the number of calculations increased from 10k to 90k, i.e. 9 folds. but the time they took increased by over 220 times(0.025 to 5.6) is because factorial is not linear.🤯
@TheCodingBug3 жыл бұрын
Great series! and it would really come in handy if someone is planning to implement custom layers for TensorFlow or Keras. I remember back in the day, I was trying to implement a custom layer for F1-score and it really took me a long time to figure out how to use these hidden functions of Python. It's great to see such a thought through video on the topic!
@pranav69573 жыл бұрын
I always try these programming and these programs works.thanks for these best programming video to make us a best programmer. :) Love from india.😊😊
@jsmyers24151 Жыл бұрын
The result of the code at 8:40 gave me a printout of "None" at the bottom. I used ChatGPT to tell me what was going wrong with that. It came back that I needed to remove the last "print" command at print(hello("Jeff")). I did, and "None" was no longer there. I also ditched the outer parentheses.
@arandomwho2 ай бұрын
Pretty much simple and practiacl, thanks for your awesome work!
@pankrecik3 ай бұрын
@NeuralNine to make it easier to record and watch video you could execute and preview results of the script your are working on directly from vim using shortcut
@robinferizi90733 жыл бұрын
I finally understand, thank you dude
@linushoren79283 жыл бұрын
how did you set up your pc? with ubuntu as subsystem?
@amaanq86493 жыл бұрын
Windows subsystem for Linux!
@yatharthupadhyay39763 жыл бұрын
Great 🔥
@dynoagency13233 жыл бұрын
Hi NeuralNine i love ur videos, can u make a stock prediction bot tutorial?
@NeuralNine3 жыл бұрын
coming soon ^^
@SimonTiger3 жыл бұрын
16:29 Factorial spits out HUGE results for modest inputs 😄
@xzex2609 Жыл бұрын
you are a gold mine , I love the way you compress information for advance topics, applications and your channel is Great.
@yuka10723 жыл бұрын
This man is making us better and better programmers...
@ChristopherBruns-o7o3 ай бұрын
so decorator us command substitution ? or like `$()` is decorator?
@ndriiblyzniuk93472 жыл бұрын
Good evening. Do you have some practice assignments?
@salarghaffarian974510 ай бұрын
Wooww. That was awesome explanation. Thanks many times.
@aureliotomas27243 жыл бұрын
Viiiim, cool
@maximepivi Жыл бұрын
your intro kicks jamaican vybz!!! gg
@latinman68302 жыл бұрын
Could someone tell me what IDE he's using
@qodirjondadaboyev81698 ай бұрын
what is your IDE name?
@abuazzan4623 жыл бұрын
Thank you so much for making me understand decorators and how cool and amazing they can be !
@shrishsunder17943 жыл бұрын
Yup i m wating for it 😘😘😚😚
@אנונימוס-ק5כ3 жыл бұрын
Thank you Maybe @property??
@fernandomagnabosco3 жыл бұрын
I did not understood what the @ does, can u explain to me?
@nileshwagh29943 жыл бұрын
Outro music name pls🙏
@raymondhodkinson81063 жыл бұрын
I just don't understand running Neovim in an Ubuntu sandbox in windows.... Just make the switch, remove windows bloat.
@offisongemmanuel69327 ай бұрын
You're the best man!
@sudharsanbabus11 ай бұрын
Thank you NeuralNine
@Brennmeister Жыл бұрын
Wow I was watching more than 10 videos until I finely understand it because it was explain with a easy example
@includeno3 жыл бұрын
hello how could i understand the decorators in the module Pytest? I am confused of its decorator:pytest.mark.parametrize
@oladapoajala71002 жыл бұрын
Awesome video 🙂, what neovim configurations are you using? Could you please share a link?
@jrgomez Жыл бұрын
Finally I understood what's the purpose of decorators. Thanks!
@shuaibalghazali3405 Жыл бұрын
Thanks very much, This lesson was the last straw that broke the camel's back for me in understanding decorators 😃😃
@cwleungaa2 жыл бұрын
omg , I finally understand how decorators works after such long time. Thank you very much for giving such clear explanation.
@erik-martin3 жыл бұрын
OMG so many videos and YOURS is what made it click for me! Thank you so much!
@wariare12world953 жыл бұрын
wow! I really didn't understand, but I appreciate you video!
@JS-ys2uk2 жыл бұрын
The very best explanation of decorators I"ve seen. The examples actually make sense. Thabks
@girish6064 Жыл бұрын
Thanks for sharing!
@123arskas Жыл бұрын
Time decorator was beautiful example. Will use it everywhere.
@asifabrar58923 жыл бұрын
Hey @NeuralNine, I love to watch your videos and try to use these lessons in my projects. I have a question about decorators. Can I use same decorator for multiple functions? like: def timed(function): ... def chd_func(): ... def chd_func_2(): ... def func(): if 1: chd_func() elif 2: chd_func_2() Here I want to use "timed" decorator for chd_func() and chd_func_2(). If I use the decorator for both child functions, the first child function always executes first. But I want to execute the func() first. What should I do?
@thirumala_reddy7 ай бұрын
Good explanation
@thebry4n5473 жыл бұрын
Can u make a tutorial to convert videos to mp3 please... :D It'd be awesome
@estelisarva3854 Жыл бұрын
Thank you, what font are you using in your IDE, I love that font.
@jonsnow35133 жыл бұрын
What is the cherry Mx keyboard you use mister , its sound is beutiful
@mah67572 ай бұрын
Love this
@fengjeremy7878 Жыл бұрын
Well explained!
@modikai8507 Жыл бұрын
Thanks for the lesson, been trying to learn decorators for a while now.
@AshishNagar19 Жыл бұрын
You teaches very well. Thank you sir.
@alihusham15602 жыл бұрын
Is there an easy way to do the block puzzle in python?
@julietatallaferro20722 жыл бұрын
thank u !!! :D
@OldOneX2 жыл бұрын
ابداع
@AliciaMarkoe2 жыл бұрын
Thank you 🦋
@goldball-c5x6 ай бұрын
BRO THAT WAS THE ONLY TUTORIAL THAT HELPED ME TYSM
@StephenEhrlichPhotos3 жыл бұрын
Thanks. This was packed with many helpful tips and tricks. I was hoping for a tutorial on decorators.
@metehansert6472 жыл бұрын
Good video thanks for the examples at the end.
@estebanjeldres3 жыл бұрын
Thanks
@andyurquhart75683 жыл бұрын
This series is so good, you be getting me a payrise :)
@phoebefibi18963 жыл бұрын
Thank you for the great video!
@abdowaheed68923 жыл бұрын
Continue, your are the best ⚡♥
@jacksmith31833 жыл бұрын
Thanks appreciated.
@hastresh87093 жыл бұрын
What IDE is he using?
@jonastjepkema3 жыл бұрын
Man you are amazing!
@joaquins.a.28303 жыл бұрын
I've learned a lot.
@chocolateimage3 жыл бұрын
No Views 6 Likes (i know what is going on)
@NeuralNine3 жыл бұрын
KZbin is delaying the view count ^^
@amarnadhgunakala29013 жыл бұрын
Pretty nice
@BelethKing3 жыл бұрын
Hey NeuralNine ,how long will be this series? its really enjoyable.
@NeuralNine3 жыл бұрын
Not too long I guess around 6-10 episodes :)
@BelethKing3 жыл бұрын
@@NeuralNine fine with me :) short but well explained. Keep up the good work!
@LukieHZX3 жыл бұрын
warum nimmst du vim und nicht pycharm?
@LukieHZX3 жыл бұрын
Und wie hast du das gemacht? Ist das YouCompleteMe, oder wie das heißt? Machst du mal ein Tutorial dazu?
@NeuralNine3 жыл бұрын
@@LukieHZX Weil Vim für mich einfach viel besser ist. Und das Plugin heißt coc-nvim
@LukieHZX3 жыл бұрын
@@NeuralNine Ach das ist COC. Was spricht denn gegen PyCharm und für Vim?
@NeuralNine3 жыл бұрын
@@LukieHZX development speed, lightweight, customizability
@adaobas3 жыл бұрын
I'm still learning python and I never saw anyone explaning decorators with actual useful examples, so I never really cared abou them.. thx for changing my mind
@asdf12345929 Жыл бұрын
Great explanation of decorators. Always wondered what those were. I really appreciated the practical applications that made it make a lot more sense. Thank you!
@milindoox94533 жыл бұрын
Hello , please How i can install the pycharm editor on Windows 7 32bit 😣
@b07x3 жыл бұрын
Can you please make an Ai chat bot please?
@NeuralNine3 жыл бұрын
I have a video on that already. It is literally the recommended one on my channel's start page
@b07x3 жыл бұрын
@@NeuralNine no its not showing
@dynoagency13233 жыл бұрын
@@b07x is showing
@destiny_023 жыл бұрын
@@NeuralNine what is intro music name ?
@Radical9535 Жыл бұрын
I needed to tye it this way not the way you had it to get output in pyx=charm anyway. mydecorator(hello_world()). not (...)().