Если запустить 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
🤔#LDO Financial indicators for Lido in 2025 show that total revenue decreased by 23% on an annual basis to $40.5 million, with net staking commission revenue amounting to $37.4 million.
The DAO is evaluating a potential LDO buyback program in the second quarter of 2026. link
#LDO/USDT analysis :
#LDO is in a downtrend, currently rejecting from the 200 EMA resistance after going through a correction phase. It is expected to continue its bearish momentum and test the previous swing low. Wait for the break of the $1.091 level downside for a short entry.
TF : 15min
Entry : $1.091
Target : $0.993
SL : $1.153
#LDO/USDT analysis -
#LDO has recently broken out of the channel after facing rejection from the 200 EMA in a downtrend. It is now expected to continue its downward momentum and test new lows.
TF : 2H
Entry : $1.530
Target : $1.398
SL : $1.604