Если запустить 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
⚡️Catizen Announcement: COC Wipe Test Now Live!
#Diamonds#COC
The Catizen Announcement channel reveals the launch of the COC Wipe Test. Participants can try it first and earn 2x Diamonds for every USD spent during the test, redeemable at the official launch.
Source: link
@tonlines
🌎 A layer of diamond rain may fall deep within Neptune and Uranus! Under immense pressure, methane breaks apart, causing carbon atoms to form glittering diamond crystals that drift towards the core. ✨
#planets⚡#diamonds⚡#methane
👉subscribe Interesting Planet
🎈Hot Game This Week🎈
🐲Dusk of Dragons: Survivor🔥🔥🔥
📌Developed by 🔗Core Games
🚀#June 19 | Countdown!!!
From #diamonds to dragon #coins, the Dusk of Dragons codes can help boost your inventory, increase your levelups, and make your adventure across Libida even more thrilling!!!
The 100 diamonds and 500 dragon coins are yours after redeeming this code: 👇👇👇
🎁【 APKPURE 】🎁[Valid for Limited Time!]
*Expires on 6/30‼️
🕹️Get Access to Dusk of Dragons June 30 Update
Add @APKFreeDownloader_Bot to get any apk you want.