Python 101: Learn These 5 Must-Know HIDDEN Features

Python 101: Learn These 5 Must-Know HIDDEN Features

Tech With Tim

5 месяцев назад

67,647 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@user-vi1tw1xw7r
@user-vi1tw1xw7r - 24.01.2024 00:12

Great explanation of the usefulness of the walrus operator, all became clear. Thanks.

Ответить
@SkyTiger86
@SkyTiger86 - 22.01.2024 15:44

BEST

Ответить
@JJ-SH
@JJ-SH - 22.01.2024 02:58

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.

Ответить
@hubijohn7451
@hubijohn7451 - 21.01.2024 12:49

Great stuff

Ответить
@unsuspicious_youtuber
@unsuspicious_youtuber - 21.01.2024 04:58

I heard "python is a fas"

And my brain instantly thought he was going to say fast. I was like okkkkkk yeeaaeah... right... fast 😂

Ответить
@Codecrafters_hub-
@Codecrafters_hub- - 21.01.2024 00:36

you are close to1000 vids. you can do it✌

Ответить
@joelneely
@joelneely - 20.01.2024 18:49

“Asterix” is a cartoon character; “asterisk” is a star-shaped special character.

Ответить
@1CProgrammer
@1CProgrammer - 20.01.2024 18:46

Thumbnail just saying me please learn python,
Me: ok

Ответить
@isalutfi
@isalutfi - 20.01.2024 14:00

Hi Tim! Am new subscriber. Thank you for sharing about these 5 must know hidden features! 🍁🌿

Ответить
@abcdefcdddsssxxsxsx
@abcdefcdddsssxxsxsx - 20.01.2024 13:23

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

Ответить
@amingaming6754
@amingaming6754 - 20.01.2024 12:25

What sorts of jobs I can do with just python in freelancing. Please mention some of it

Ответить
@usamashami11
@usamashami11 - 20.01.2024 10:31

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. 🙌🏻

Ответить
@alexanderkomanov4151
@alexanderkomanov4151 - 20.01.2024 08:48

Good tips!

Ответить
@user-xk6rg7nh8y
@user-xk6rg7nh8y - 20.01.2024 05:29

very well organized :)) And thank you so much to let me know this cute expression :=

Ответить
@CedricThePlaystation
@CedricThePlaystation - 20.01.2024 00:06

I also love that Swift has some of these features as well, albeit with different syntax.

Ответить
@Big_chicken-ok8gc
@Big_chicken-ok8gc - 19.01.2024 23:44

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. ❤️ ❤️

Ответить
@Artifactorfiction
@Artifactorfiction - 19.01.2024 19:48

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 …

Ответить
@bevintx5440
@bevintx5440 - 19.01.2024 19:14

I enjoyed our video as I learned several Python features of which I was unfamiliar.

Ответить
@farzadmf
@farzadmf - 19.01.2024 19:11

You could also do defaultdict(int)

Ответить
@logaspam
@logaspam - 19.01.2024 19:01

The default value function in a defaultdict is a good place to use a lambda function.

Ответить
@swolekhine
@swolekhine - 19.01.2024 18:54

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.

Ответить
@jonahsatheesh5346
@jonahsatheesh5346 - 19.01.2024 18:18

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

Ответить
@TKZ9
@TKZ9 - 19.01.2024 18:14

PLEASE DO A TUTORIAL ON FLET LIBRARY🥲

Ответить