Если запустить 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
#ROSE/USDT analysis :
#ROSE is in an uptrend, forming higher highs and higher lows above the 200ema. The price is expected to sustain its bullish momentum and test new highs. Wait for a price retracement over the support zone for a long entry.
TF : 2h
Entry : $0.0606
Target : $0.0696
SL : $0.0561
#ROSE +%33 in just 5 days 🤑🤑
Legs Trading Hub VIP members are just enjoying their profits 🍹
We are crafting our signals by the power of CoinLegs algorithms.
Why don't you chime in and say hello? ⤵️
https://discord.com/invite/8RKtAA9cxZ