Keep exploring at brilliant.org/JohnWatsonRooney/ Get started for free, and hurry-the first 200 people get 20% off an annual premium subscription.
@brandone72732 жыл бұрын
I'm a still newish infrastructure guy, trying to automate as much network functionality as I possibly can. I don't really know any devs to pick their brain or have them expound on a topic to really cement the concept in my head. Your videos have helped me tremendously in understanding python in a way that's actionable in my environment. Thank you!
@JohnWatsonRooney2 жыл бұрын
thank you! I'm glad to have helped out in some way
@oromis9952 жыл бұрын
absolute legend. I watched your web scraping video because it appeared on my feed and applies to my job, then I saw this one which was a missing piece of knowledge I had that I couldn't explain in my code. Nice job
@JohnWatsonRooney2 жыл бұрын
Thanks that’s very kind I’m glad it helped you!
@ea3gug2 жыл бұрын
Very interesting, now I know better python. I understand that when you use kwargs, it makes difficult for the IDE (Pycharm,...) to check that you are passing a valid header/parameter to the receiving class in edition mode or "compilation mode" before running, creating issues in runtime when you use the wrong entry. Thanks for your great video!
@JohnWatsonRooney2 жыл бұрын
thanks for watching!
@jjdawg99182 жыл бұрын
Great video! It also confirms my distaste of highly overloaded operators where you are guessing at the behavior. But in full disclosure I'm a lowly C programmer ;)
@Yeeeeeehaw2 жыл бұрын
man, your videos are extremely useful !
@JohnWatsonRooney2 жыл бұрын
Thanks very kind
@Septumsempra88182 жыл бұрын
Him and Python 360 have the best scraping vids on KZbin right now!
@gabrieljeca2 жыл бұрын
Wow, I finally understood those concepts! Awesome content as always, JWR!
@JohnWatsonRooney2 жыл бұрын
Awesome! Thank you!
@datapeon Жыл бұрын
Bro you are doing great job. Learning lot of from y ❤
@Matt-es1wn Жыл бұрын
Dataclasses seem so amazing. I wanna start using these instead of the annoying merhods i use with pandas right now
@danielmdubois Жыл бұрын
This video does a good job on how, but maybe it could be better on why? I think some time could be spent explaining why you wouldn't just use a list parameter for any function (e.g.) that takes a collection, instead of *args. True, this would effectively enforce the caller performs some list comprehension on whatever is being dealt with, whether it be a tuple, multiple variables, iterable, etc... I think I know the answer -- turning something iterable into a list increases memory requirements and probably processing time from double work -- but it would be nice to be explicitly said; to explain why these syntax tricks add value to python. People coming from other languages, particularly statically typed languages, are probably more comfortable passing collections around, as it's a more straightforward concept. I feel like **kwargs is especially tricky to grok, because of the weird multi-step process of unpacking named arguments, which itself is a quirk specific to python, while then leaving a "remant" kwargs dictionary to operate on.
@SydwasheretheIII9 ай бұрын
I’ve been trying for hours to find answers on why I’d ever use *args and **kwargs instead of passing explicit lists and dicts. Every video or forum I’ve found explains HOW *args and **kwargs work, but I understood that from the start. Still stuck on the why :(
@arthurpenndragon64342 жыл бұрын
great explanation, really helpful!
@JohnWatsonRooney2 жыл бұрын
Thanks!
@KrAsHeDD2 жыл бұрын
Thanks so much, it helps
@azhari79682 жыл бұрын
This is very random but, you showed up in my recommendation page and I just wanna say that you have an awesome beard I can't not look at it
@JohnWatsonRooney2 жыл бұрын
thanks, I'm going to take that as a compliment
@keagankemp62752 жыл бұрын
Sjoe 10mins to save hours of reading and frustration, great video
@JohnWatsonRooney2 жыл бұрын
Thanks!
@keagankemp62752 жыл бұрын
@@JohnWatsonRooney equally impressive is that you are a self taught developer, I’m using that as motivation when python seems impossible
@peterkim96962 жыл бұрын
Please make a video how to deploy fastapi script online so other people can use my tool anywhere
@geekyprogrammer48312 жыл бұрын
There are already many videos on that.
@stewart51362 жыл бұрын
Another "brilliant" video from John. Pun intended 😉
@Septumsempra88182 жыл бұрын
A lesson from MrBeast: teach us something about args/kwargs in brilliant. We can't skip the information essential to this topic. Ad Retention = $$$
@bryce38516 ай бұрын
7:15 python joke of they year
@DoggARithm2 жыл бұрын
One of the best videos on the topic I've seen! Good explanation
@Qwasieee_P Жыл бұрын
Someday I'll be mature enough not to laugh everytime he says mydict 😖😖