Тёмный

AsyncIO, await, and async - Concurrency in Python 

Socratica
Подписаться 882 тыс.
Просмотров 73 тыс.
50% 1

𝙎𝙞𝙜𝙣 𝙪𝙥 𝙛𝙤𝙧 𝙎𝙤𝙘𝙧𝙖𝙩𝙞𝙘𝙖 𝘾𝙤𝙪𝙧𝙨𝙚𝙨: www.socratica.com/collections
𝙎𝙤𝙘𝙧𝙖𝙩𝙞𝙘𝙖 𝙋𝙮𝙩𝙝𝙤𝙣 𝙨𝙝𝙞𝙧𝙩: shop.socratica.com/products/p...
The asyncio module in Python helps you use concurrency in your code. In this lesson, you'll learn about subroutines & coroutines, concurrency vs. parallelism, and how to use the async/await keywords to create a coroutine, and to run a batch of coroutines using convenience functions in the asyncio module.
𝙋𝙧𝙤𝙜𝙧𝙖𝙢𝙢𝙞𝙣𝙜 𝙥𝙡𝙖𝙮𝙡𝙞𝙨𝙩𝙨:
Python: bit.ly/PythonSocratica
SQL: bit.ly/SQL_Socratica
Subscribe to Socratica + bell for notifications:
bit.ly/SocraticaSubscribe
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: amzn.to/2Lh3XSP
Paperback: amzn.to/3t5jeH3
Kindle Unlimited (read free): amzn.to/3atr8TJ
Python Cookbook, 3rd edition
amzn.to/3jprjX2
More Socratica Python goodies here:
shop.socratica.com/collection...
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
/ @socratica
Support Socratica on Patreon:
/ socratica
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison
Edited by Megi Shuke and Michael Harrison
#python #asyncio #concurrency

Опубликовано:

 

5 ноя 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@MrMilesfinn
@MrMilesfinn 5 месяцев назад
Wow -- the quality of the production, and the level of pedagogy, are both superb.
@mkamp
@mkamp 2 месяца назад
And the level of absurdly funny turns 😂❤
@mosk53
@mosk53 Месяц назад
insane
@MariosMartiopoulos
@MariosMartiopoulos 6 месяцев назад
Almost 10 years later, and she hasn't aged a bit. I had realized from the beginning that she wasn't human. 😍 Kindly don't leave us without new episodes. This may not be a series we deserve, but it is a series we definitely need.
@abdessamadao1973
@abdessamadao1973 6 месяцев назад
wait ... isn't she a human ?
@MariosMartiopoulos
@MariosMartiopoulos 6 месяцев назад
@@abdessamadao1973 no, she is superhuman.
@robertmanigault625
@robertmanigault625 6 месяцев назад
Actually, she is real. Her name is Ulka Simone Mohanty.
@MariosMartiopoulos
@MariosMartiopoulos 6 месяцев назад
@@robertmanigault625 well, thank you Captain Obvious, now we have two superhumans in this channel. (No offense, just kidding. 🤭)
@abdessamadao1973
@abdessamadao1973 6 месяцев назад
@@robertmanigault625 Wow , I didn't know she can program as well
@crimsomnia1415
@crimsomnia1415 4 месяца назад
After maining Symmetra for years, I could listen to these videos all day long.
@mr.bulldops7692
@mr.bulldops7692 7 месяцев назад
Code examples were very clear, and the explanation of coroutines I think is sometimes glossed over in other tutorials. A similar explanation of multithreading, and the use of thread pools, may be an idea for a future video. Communication between threads and thread debugging can be very tricky.
@jackaubrey8614
@jackaubrey8614 6 месяцев назад
"Communication between threads and thread debugging can be very tricky" - that, my friend, is the understatement of the century! :)
@Chuukwudi
@Chuukwudi 2 месяца назад
Wow! This will help save some money with shorter aws lambda runtimes. Thank you!
@feldinho
@feldinho 7 месяцев назад
For those who enjoy etymology, "sub" and "co" are common latin prefixes that mean "under", "beneath" (subconscious, submarine etc) and "with" (colaborate, correlation etc). At least this is how I remember which one is which. I hope this is useful to someone else. :)
@Neamerjell
@Neamerjell 7 месяцев назад
"Those who don't know the difference between 'entomology' and 'etymology' bug me in ways I can't put into words."
@a.joshatt7518
@a.joshatt7518 3 месяца назад
After watching several tutorials about async, This is the only one make me understand.
@Mohammad2525
@Mohammad2525 5 месяцев назад
This is the short and best video that explained concurrency very well made.
@ChadDoebelin
@ChadDoebelin 7 месяцев назад
My favorite python series. It's been a while! Glad you're back.
@markw5521
@markw5521 15 дней назад
Ulka -- Love the wry humor!! Python was never so entertaining. Please keep doing what you're doing.
@kmqwewq
@kmqwewq 6 месяцев назад
I love the way it's presented, it's so refreshingly different from the many boring courses. love you 🥰
@LawrenceMorrisson
@LawrenceMorrisson 6 месяцев назад
landed here to learn about await and async and this was the video that held my interest. Loved the lighthearted vibe and silly dry humor throughout what was also an incredibly helpful video. Thank you and good job.
@Allen-by6ci
@Allen-by6ci 7 месяцев назад
Big shout out to Ulka Simone Mohanty.. she's the actress and really fantastic at these videos.
@MariosMartiopoulos
@MariosMartiopoulos 6 месяцев назад
She also has a degree in computer science.
@padraic1983
@padraic1983 6 месяцев назад
Our team uses this module and other async libraries. Glad to see you post. The real power comes in using an async wrapper class for each io operation.
@steveq34
@steveq34 7 месяцев назад
Was just needing this and my fav python creators delivered!! Thank you! 💚
@prabakark6791
@prabakark6791 16 дней назад
I learned some serious stuff here and chuckled along the way. It was fun.
@johnneiberger7311
@johnneiberger7311 Месяц назад
I'm certain this is the most interesting, helpful, and funny asyncio video I've seen, so far. Insta-subscribe.
@ianmubangizi
@ianmubangizi 11 дней назад
Who loved the Introduction to SQL? Really enjoyed it plus helped me pass my database exam once way back in college.
@dhrubajyotipaul8204
@dhrubajyotipaul8204 19 дней назад
Life saver! Love the simplicity! Thank you so much! ♥
@Rafi-nc3nw
@Rafi-nc3nw 2 месяца назад
Thank you very much. After spending a decade on this finally I am able to grasp the whole async await thing.
@robboerman9378
@robboerman9378 2 месяца назад
Absolutely LOVE the style here. Beside being super clear and concise it’s funny as well. Well done. Looking up the courses!
@humanrightsadvocate
@humanrightsadvocate 7 месяцев назад
OMG! That joke at the beginning was delicious. Ganymede, Callisto, Io and Europa.
@brianterry8512
@brianterry8512 3 месяца назад
Even with all the puns and cutesy, this short video did more to help me get my head around how to actually implement async than all the others I have watched put together. So many of them spend most of their time explaining *why* to use it and end up glossing over *how*. This one gave enough why to make sense, and actually made the how understandable. Good job.
@devworks8787
@devworks8787 7 месяцев назад
Welcome back! good to see a video from you after a long time
@garyr1639
@garyr1639 5 месяцев назад
Excellent as ever, well done Socratica!
@carlosrivadulla8903
@carlosrivadulla8903 7 месяцев назад
Trying to understand this topic for some time now. Absolutely clear finally ty!
@MrPioneer7
@MrPioneer7 7 месяцев назад
Thanks for coming back my best teacher 🎉🎉🎉
@seancharles1595
@seancharles1595 10 дней назад
Slickest and most entertaining tutorial I#ve had the pleasure to watch! Just subscribed!
@awuyadaniel8982
@awuyadaniel8982 4 месяца назад
I Love how you explained it... so understandable, you made it easy for me to understand Best AsyncIO, await, and async tutorial out there
@lenko_me
@lenko_me Месяц назад
Incredible video. Such comprehensive concept explained very cleanly
@omara2248
@omara2248 2 месяца назад
Outstanding quality.. both in the visual production as well as the narrative.
@BillAugersdca
@BillAugersdca 7 месяцев назад
Awesome video as usual - fun and useful!
@tarannumx
@tarannumx Месяц назад
Best video for asynchronous programming
@TevfikBagcivan
@TevfikBagcivan 6 месяцев назад
The legend is back. The most impressive way to teach
@moura3071
@moura3071 3 месяца назад
Amazing approach and explanation.
@sly2097
@sly2097 6 месяцев назад
Thanks for the excellent video, great examples and easy to follow
@patriotir
@patriotir Месяц назад
This was amazing! Thank you!
@danieldesouzavicente7468
@danieldesouzavicente7468 11 дней назад
Fantastic video production and explanation 👌👏
@arkadipbasu
@arkadipbasu 6 месяцев назад
thank you madam, Glad you're back.
@Reep21
@Reep21 7 месяцев назад
Learnt something new, thank you!
@isragaytanmistico
@isragaytanmistico 4 месяца назад
Thanks to you so much. You won a subscriber.
@ericstevens653
@ericstevens653 2 месяца назад
This was fantastic, thank you
@mlindatech
@mlindatech 3 месяца назад
I like this💚💚...you explained it all
@hibryd7481
@hibryd7481 4 месяца назад
The humor of this video is so corny, but I'll take it any day of the week over listening to another disembodied voice drone over top of a 2160p screen capture of an IDE where they don't even open a document for the first 3 minutes. Very clear and engaging explanation, subscribed.
@friesmaker
@friesmaker Месяц назад
Amazing video!
@ravi4522
@ravi4522 5 месяцев назад
Hii, I love your videos. Can you please add videos on multithreading and multprocessing? That would be really helpful.
@soyuzssr
@soyuzssr 7 месяцев назад
Brilliant video ! Bravo !!
@sahil5124
@sahil5124 6 месяцев назад
this is gold, thank you so much
@voltexripper8367
@voltexripper8367 6 месяцев назад
Bravoo ! Nice explanation
@Tiago_R_Ribeiro
@Tiago_R_Ribeiro 3 месяца назад
Who writes the text of these videos? Genius.
@wouteranthierens
@wouteranthierens 7 месяцев назад
Tnx ! amazing as always.
@DavidBooth-mn3ji
@DavidBooth-mn3ji 2 месяца назад
This is actually so good
@Smarandii
@Smarandii 3 месяца назад
This is awesome and deserves a millions of likes
@ryanprasad2090
@ryanprasad2090 3 месяца назад
Awesome explanation!
@Socratica
@Socratica 3 месяца назад
Thank you so much for your kind support!! 💜🦉
@rahulkmail
@rahulkmail 5 месяцев назад
Nice tutorial...
@alinaderiparizi7193
@alinaderiparizi7193 Месяц назад
Awesome!♥
@EschinTenebrous
@EschinTenebrous 7 месяцев назад
Great video, as usual :)
@jamesraphael8473
@jamesraphael8473 6 месяцев назад
She's back!!!!!🕺💃🕺💃🕺💃
@moibe182
@moibe182 6 месяцев назад
I love this girl returned!!
@SuperAppmaker
@SuperAppmaker 2 месяца назад
very informative videoa
@user-lf5xu4tc1u
@user-lf5xu4tc1u 7 месяцев назад
Nice, that she is back
@greatad2405
@greatad2405 4 месяца назад
Crazy production and the joke of AI doing mischievous axtivities was extraordinary fr.
@kirbymarchbarcena
@kirbymarchbarcena 7 месяцев назад
This will be very helpful for my son who's interested in programming
@Socratica
@Socratica 7 месяцев назад
Wonderful! The family that codes together learns loads together! 💜🦉
@oldschoolsoldier1634
@oldschoolsoldier1634 2 месяца назад
That async-IO joke.... hit hard
@MrCytrus
@MrCytrus 4 месяца назад
heavily underrated video
@TheWyrdSmythe
@TheWyrdSmythe 2 месяца назад
Welcome back Funny Robot! 🤖
@milton8903
@milton8903 Месяц назад
Thank you GLaDOS sister
@bicycleninja1685
@bicycleninja1685 7 месяцев назад
She's back
@bhargavsangani2901
@bhargavsangani2901 3 месяца назад
Wow!! Just Wow!! What an amazing explanation
@iamjimgroth
@iamjimgroth 7 месяцев назад
I just realised I keep watching these for the humour. I don't even like python. 😁
@redthunder6183
@redthunder6183 5 месяцев назад
thanks Spock
@Socratica
@Socratica 5 месяцев назад
🖖
@Lenjiy
@Lenjiy 6 месяцев назад
nice
@user-ed8ey6gh1u
@user-ed8ey6gh1u 5 месяцев назад
Hello, Would you please one one python multiprocessing. Thanks for this one
@setudutta3905
@setudutta3905 6 месяцев назад
👏 👏
@stephensalmon3148
@stephensalmon3148 7 месяцев назад
Why can't all tutorials be like this?
@meguellatiyounes8659
@meguellatiyounes8659 2 месяца назад
seggestion Socratica: how can i build my own python library or package ?
@richmondkoomson3403
@richmondkoomson3403 5 месяцев назад
God I love this woman
@bdcash
@bdcash 7 месяцев назад
The return of eveyone's favourite AI dominatrix
@digvijaysinghrajput8092
@digvijaysinghrajput8092 7 месяцев назад
In which version of python asyncio is introduced?
@senr4in
@senr4in 6 месяцев назад
3.4?
@MannuJadhav
@MannuJadhav 6 месяцев назад
3.5
@koushikr4770
@koushikr4770 4 дня назад
Bro what is this ai tool what ai tool u use to do videos like this 😊
@jursamaj
@jursamaj 7 месяцев назад
While I'm sure this pattern is very useful, it has some severe limits. As described here, you have to wait for *all* the concurrent tasks to get done. There are cases where you want to dispatch several threads, at different times, and as *each one* gets done, do something with the result.
@Mrme-cn9je
@Mrme-cn9je 6 месяцев назад
What language mechanism is used then in your example? Another technique?
@alexandrupavilcu
@alexandrupavilcu 7 месяцев назад
I am thinking about the future. Several of them, in fact. All of them concurrent.
@corneillembay8893
@corneillembay8893 6 месяцев назад
Hey Teacher how about a payment courses Thanks a lot🙏 2:32
@Imthemaddie
@Imthemaddie 3 месяца назад
Sheldon Cooper vibes
@triggeracc6001
@triggeracc6001 3 месяца назад
Tried but doesn't work, it took the same time
@shrutish
@shrutish 2 месяца назад
inhale, widen your eyes and run
@i_like_pengwinz1065
@i_like_pengwinz1065 2 месяца назад
3:27 lmao
@lightninglemma
@lightninglemma 6 месяцев назад
are you an Ai teaching robo? :D
@papunmohanty2291
@papunmohanty2291 6 месяцев назад
hmmm..... code is not pythonic (no snack case convention followed in function name) [OUCH!!] 👻 but good explanation though 🤓
@bartuslongus
@bartuslongus Месяц назад
My 10 year old clothes neither look so good nor fit so well any more.
@mathewmcfool
@mathewmcfool 6 месяцев назад
i can't help but think this is a deepfake 🤷‍♂ she was gone for so long now she's back? naaah
@Anjinink
@Anjinink 7 месяцев назад
No link for code?
Далее
Asyncio in Python - Full Tutorial
24:59
Просмотров 43 тыс.
Unlocking your CPU cores in Python (multiprocessing)
12:16
The Async Await Episode I Promised
12:04
Просмотров 1,1 млн
Python Asynchronous Programming - AsyncIO & Async/Await
25:57
Python's 5 Worst Features
19:44
Просмотров 82 тыс.