10 Python Concepts You NEED To Know in 2025

  Рет қаралды 22,791

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер
@TechWithTim
@TechWithTim 14 күн бұрын
📬 Join my Newsletter: techwithtim.net/newsletter
@useronetwothree-z6f
@useronetwothree-z6f 9 күн бұрын
thx tim, i alrdy joined! great vid!❤❤❤
@XenoHypes
@XenoHypes 12 күн бұрын
Yet another masterpiece from our boy Tim. Great work, make more videos like this
@AP_123_
@AP_123_ 9 күн бұрын
Thank you, Tim. I just began learning Python through Codefinity recently. Am enjoying the videos you create, they are of great benefit to my learning. Cheers.
@ondrasuchanek6467
@ondrasuchanek6467 5 күн бұрын
thanks, I didn't understand few of them a now I do, great content as always :)
@ltsCoo
@ltsCoo 10 күн бұрын
Bro you left us hanging at the hardest part of the rust series
@BenRogersWPG
@BenRogersWPG 11 күн бұрын
Excellent video!
@calibur5518
@calibur5518 12 күн бұрын
welcome back SIR
@samoylov1973
@samoylov1973 11 күн бұрын
1) Zen of Python tells us "Readability counts." So about "slicing" section of your video it might be a good practice to use slice(). every_third = slice(None, None, 3) lst_of_nums[every_third] # Yes, one may argue that there's more hassle, but consider readability and reusability. 2) Magic line - if __name__ == "__main__": This part could have been presented better. As this magic line is used for orchestrating functions, presenting main interface and running tests. def main(): """ Orchestrates the execution of function1, function2, and function3. """ data = function1() result = function2(data) function3(result) ... if __name__ == "__main__": def test(): """ Runs tests to validate the functions. """ assert function1() == "Hello", "function1() should return 'Hello'" assert function2("Hello") == "Hello, world!", "function2() should return 'Hello, world!'" function3("Hello, world!") # This should print "Hello, world!" test() # Run tests first main() # Then run the main function
@RoslynPatty
@RoslynPatty 5 күн бұрын
Thanks for the analysis! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@azharalibhutto1209
@azharalibhutto1209 11 күн бұрын
Great ❤❤❤
@leonidas14775
@leonidas14775 4 күн бұрын
Java: No, you can't assign that there, it's the wrong type. Python: Sure you can assign that. Hours later... Cannot compare int and NoneType. where .. did I go wrong?? JavaScript: Sure you can assign that, and now your data is garbage. But no errors.
@DaveWarnock
@DaveWarnock 11 күн бұрын
In the dynamic typing you are perpetuating the type problem when you add the int argument check. If you pass a string instead of an int you then break the declared return type (return a str instead of an int). That would leave a nasty mess if I call this function without reading the source or running a type checker. At minimum the return should be "int | str"
@tonkyboy8920
@tonkyboy8920 10 күн бұрын
Hi @tim may i ask you: how do you record your videos in this good quality? I want to start a channel aswell and i like your quality.
@HabibuDanlamidahir
@HabibuDanlamidahir 11 күн бұрын
Do Tim have scikit learn tutorial?
@aakashjoshi4580
@aakashjoshi4580 11 күн бұрын
I had a doubt. In the *args and **kwargs, should the names be same as it is or I just have to use the * one /twice depending on what im doing?
@davidmurphy563
@davidmurphy563 11 күн бұрын
*args, **kwargs are like "self", you don't have to use these names. Just never use anything else because you'll make whoever reads your code very cross if you use something else. With *args only the astericks matter. That says, take all the positional arguments and put them in a tuple. **Kwargs plus all the keyword arguments and puts them in a dictionary. This means you don't have to know how many positional arguments there are or what the keyword arguments are. This is especially common when you're passing your arguments from a child class to a super class.
@jorge.barcelos
@jorge.barcelos 11 күн бұрын
When we are dealing with web systems, It is true, that python is not scalable at all?
@selomamuzu5803
@selomamuzu5803 11 күн бұрын
In for/while else portion of the video, why not just put the else statement within the for loop
@davidmurphy563
@davidmurphy563 11 күн бұрын
That's an error, an else needs a preceding if, for or while in the same scope.
@aidanthompson5053
@aidanthompson5053 9 күн бұрын
<a href="#" class="seekto" data-time="221">3:41</a>
@circuithijacker
@circuithijacker 11 күн бұрын
Make an async video
@vornamenachname906
@vornamenachname906 11 күн бұрын
Bruhhh python and Async , whyyyy 😂
@circuithijacker
@circuithijacker 11 күн бұрын
@vornamenachname906 why not?
@TechWithTim
@TechWithTim 11 күн бұрын
I have a few in my channel already
@vornamenachname906
@vornamenachname906 11 күн бұрын
@@circuithijacker Async is usually for performance reasons. Python is 100x-10.000x slower than real programming languages. The GIL gives it the rest. Why would you try to optimize a python code? It's a scripting language for rapid prototyping or to glue packages together.
@circuithijacker
@circuithijacker 11 күн бұрын
@vornamenachname906 I typically use it for event loops and controlling robots. Sometimes, I'll do robot control with ROS for that. I create stuff in Javascript, Java, C, C#, and sometimes C++. But, the performance argument is quite offset by using libraries or calling Ctypes, Cython, or CFFI. The rapid development time also really offsets any disadvantages I have ever come across in 45 years of programming. The real disadvantage to Python, as far as I'm concerned, is protecting any IP in the code. But much of what I do is open source. Python is a real language, but if you really want to program in a real language, program in assembly language (any) or onto the bare metal in binary with toggle switches, which I've done and it is an experience everyone should do at least once.
@shehryarmalik5704
@shehryarmalik5704 9 күн бұрын
Legend
@siraj_safed
@siraj_safed 11 күн бұрын
"with" in python 😇 "with" in js 💀
@avra.d3v
@avra.d3v 12 күн бұрын
w
@this-is-bioman
@this-is-bioman 9 күн бұрын
python might by dynamically typed... but who is actually using it? It's a recipe for a disaster. Type hints has been introduced not without reason.
@usethisforproductivity-tg7xq
@usethisforproductivity-tg7xq 12 күн бұрын
Too easy brah make a multiprocessing crash course plz
@dijei_fullfine
@dijei_fullfine 11 күн бұрын
For 2025?? C'mon Tim.. this has been explain a lot of times, nothing interesting to me. Why you don't talk about Pydantic AI for example?
@promisechymerh
@promisechymerh 11 күн бұрын
Relax, show off. Let him explain this to beginners.
@dqalombardi
@dqalombardi 2 күн бұрын
this was so clearly just content he crapped out to wrap the hubspot sponsorship - absolutely ridiculous, unsubscribing
Please Master This MAGIC Python Feature... 🪄
25:10
Tech With Tim
Рет қаралды 58 М.
10 Python Functions That Will Simplify Your Life
19:19
Tech With Tim
Рет қаралды 62 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 115 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 73 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,3 МЛН
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 244 М.
The 8 AI Skills That Will Separate Winners From Losers in 2025
19:32
Python Generators Explained
28:37
Tech With Tim
Рет қаралды 162 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 674 М.
AI Trends for 2025
7:32
IBM Technology
Рет қаралды 166 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН