Если запустить 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
🚀 Back to Back profits are made in the Premium Group
🎯🎯#AIXBT/USDT has covered all the target to give a Profit of 201% to all Premium Members
👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gain
✅✅ 125% Profit on #AIXBT/USDT for our Premium Members on On Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures
👆🏻All Profit Targets Successfully Completed
👁🗨Contact @primemod to enter the most powerful premium group & make daily gains
AIXBT Tokenomics
Key aspects of #AIXBT tokenomics (at the time of writing) include:
Total Supply: 1 billion AIXBT tokens
Circulating Supply: 854 million tokens
Market Capitalisation: $85 million
All-Time High: $0.9426
Holders of AIXBT tokens gain access to the aixbt Terminal, a premium market intelligence platform designed for deep-dive crypto analysis.