Комментарии:
Great explanation of the usefulness of the walrus operator, all became clear. Thanks.
ОтветитьBEST
ОтветитьLiterally none of those are hidden features. Walrus makes code less readable and more complex (not complicated) for no benefit whatever. Similarly for/else is notoriously difficult to read without a double take to understand what's going on, although it adnitedly does have it's niche uses on occasion.
ОтветитьGreat stuff
ОтветитьI heard "python is a fas"
And my brain instantly thought he was going to say fast. I was like okkkkkk yeeaaeah... right... fast 😂
you are close to1000 vids. you can do it✌
Ответить“Asterix” is a cartoon character; “asterisk” is a star-shaped special character.
ОтветитьThumbnail just saying me please learn python,
Me: ok
Hi Tim! Am new subscriber. Thank you for sharing about these 5 must know hidden features! 🍁🌿
Ответитьwe could also use char_count=char_count.get(char,0)+1
instead of the defaultdict or is there any other advantage to it other than code readability and conciseness
What sorts of jobs I can do with just python in freelancing. Please mention some of it
ОтветитьWow this video is really insightful! ❤
Walrus operator is new for me, so is the defaultdict!
And I always wondered what those asterisks in f(*args, **kwargs)are. Today it made some sense, as they are unpack, double unpack operators!
Everytime I see your video, I get to know about something unique. Thanks and keep it up. 🙌🏻
Good tips!
Ответитьvery well organized :)) And thank you so much to let me know this cute expression :=
ОтветитьI also love that Swift has some of these features as well, albeit with different syntax.
ОтветитьTim I greatly appreciate what you teach and do but python Is getting a bit repetitive. I love python, it's great. It's my go-to language. but I would definitely like to see some other languages or other tech based topics on this channel. I'm also saying this because in your recent videos almost all your latest videos have pythons logo in the thumbnail lol. Still, love your work, love what you teach, keep it up. ❤️ ❤️
ОтветитьI hate the else after the while … This just doesn’t make the code more readable … I guess “if break:” or “if not break:” would be more readable and more noticeable to any future maintainer who may add more break related logic to the loop … maybe I’m getting too old … bah humbug …
ОтветитьI enjoyed our video as I learned several Python features of which I was unfamiliar.
ОтветитьYou could also do defaultdict(int)
ОтветитьThe default value function in a defaultdict is a good place to use a lambda function.
ОтветитьI was amazed at how much uproar the walrus operator caused when it arrived in Python 3.8. Your list comprehension example with the f(x) assignment is a clear use case that isn't possible (at least without something really convoluted) without it.
ОтветитьCould you make a tutorial on hosting an llm from hugging face onto a free server or domain?
Including how make a ui for it
Pleaseee
PLEASE DO A TUTORIAL ON FLET LIBRARY🥲
Ответить