Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL.
user@host:~$ python -m asyncio
asyncio REPL 3.12.7 ...
Use "await" directly instead of "asyncio.run()".
>>> import asyncio
>>>
В этом режиме
- создаётся и настраивается event loop
- уже импортирован asyncio
- работает await на верхнем уровне
То есть такая команда сработает без ошибок!
await asyncio.sleep(3)
Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки.
Работает в: 3.8+
#tricks#async
Ab wann sagst du nein? 🙏☝️🤷
Kayvan Soufi-Siavash (Ken Jebsen) bringt es wieder auf den Punkt
#foryou#goviral#viral#journalist#deutschland
TEILEN
Folgt mir auf Telegram
↕️↕️↕️
https://t.me/Kampf_fuer_unsere_Zukunft
Chat-Kanal
⬇️⬇️⬇️
https://t.me/IavYc2SRFdY1OGY6
TikTok
https://www.tiktok.com/@danielarbogast0
Guys it is only for fun we shouldn't hate any religion we should respect every religion
How to cook Maggie in 2 minutes:
Bro it's Literally Impossible to cook Maggie in 2 minutes 😎🕶️🤏😶
#memes#instagram#funny#viral#wifemoney#dicipline#selfdicipline#goviral#trendingreels#focus#trending#trendy#trend#motivation#reels#reel#viralreels
real
#sadmemes#laugh#indianmemesdaily#indiansong#bollywood#bollywoodsongs ##uditnarayan#terenaam#memepage#indianshitposting#indianmemesdaily#desimemesdaily#search#feed#goviral
Dil k bht ache Hai ✨️ Bas Dimagh ki guarantee Nahi ke sakta 🤣
.
.
.
#dilsehyderabadi#reelkarofeelkaro#viralmemes
#explorepage#trendinmemes#friends#theboys#boysmemes#boysfashion#girls#crush#couples#share#explore#Monday#goodvibes#goviral✨️
Not Me!
#goviral#govjobs#corporate#sleepy#lunchtime#corporatevale#office#memes#sarcastic#sarcasticmemes#reelitfeelit#corporatememes#corporate#officememes#corporatelife#lifeatcorporate#officememes#officehumor#corporatecomedy#worklife#businessmemes#corporateculture#officefun#workmemes#funatwork