Если запустить 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
@siftrBot
Qué puede hacer este bot?
Este bot te ayuda a encontrar Bots, Canales y Grupos para explorar. Comienza tocando 'Categorías'.
Idioma: Inglés
(visto en @BotsGram_cu)
#search
📰 Global Keyword Post Search
In the latest version of Telegram Beta for Android, searching posts using keywords is now subject to a daily cap. To find posts, go to Search, select Posts and enter your keyword.
Users receive 10 free keyword searches each day. After that, you must spend 10 stars to unlock two more searches or wait for the next reset. This limit applies to all users including Premium. Non Premium users cannot access keyword searches at all.
This feature is currently available in the test backend.
#Search | #beta v11.14.0
👉The TG Times
📰New Search Bar option
In the latest version of Telegram Beta for Android, you will be able to manage your search bar better than before and find the information that you are looking for easily
#Search | #beta v11.6
👉The TG Times