Если запустить 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
🆓REDEEM CODES🆓
👀#Genshin🎁#Codes This Week
Aino has brought her humanoid robot 🔥🤖#Ineffa to life!
🚩The very first ARTIFICED character in the entire history of Genshin!
🗣✨Get ready for the upcoming Genshin Impact 5.8 update! It will come at the end of July, with this fresh new face!
🎁💎【 GS58YTPGFY 】NEW!! - 30k mora, three hero's wit, five mystic enhancement ore, three vajrada amethyst slivers, and three teachings of conflict
✅Genshin Impact July 2025 Codes (Full List)
Add @APKFreeDownloader_Bot to get any apk you want.