Если запустить 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
✨Price US $14.00✨
#Temu#Aliexpress
#Automatic Pet Bird Bath USB Electric Large Bird Bathtub Shower Multipurpose Bird Bathtub Parrot Bathtub For Parakeet Cleaning
Get it By Aliexpress 🛒
https://s.click.aliexpress.com/e/_EGqI1L6
Get It By amazon 👇🛒
https://amzn.to/3Z9kTNw
#Temu#Aliexpress
#Automatic Pet Bird Bath USB Electric Large Bird Bathtub Shower Multipurpose Bird Bathtub Parrot Bathtub For Parakeet Cleaning
Get it By Aliexpress 🛒
https://s.click.aliexpress.com/e/_EGqI1L6
Get It By amazon 👇🛒
https://amzn.to/3Z9kTNw
#Automatic Pet Bird Bath USB Electric Large Bird Bathtub Shower Multipurpose Bird Bathtub Parrot Bathtub For Parakeet Cleaning
Get it By Aliexpress 🛒
https://s.click.aliexpress.com/e/_EGqI1L6
Get It By amazon 👇🛒
https://amzn.to/3Z9kTNw
#birdlife#birdwatching#birdslover#Birds
@SlackRobot
Qué puede hacer este bot?
Este es un bot que se puede enseñar a responder mensajes como usted quiere.
Idioma: Inglés
(visto en @BotsGram_cu)
#automatic, #auto, #respond, #slack, #webui, #custom, #answers, #message, #question