Если запустить 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
#SXP/USDT analysis :
#SXP has broken out of the trendline, and the price has also rebounded from the support zone following a period of sideways consolidation. It is anticipated that the price will continue to rise from the current level and test previous swing highs.
TF : 1D
Entry : $0.3240
Target : $0.5629
SL : $0.2055
#SXP/USDT analysis :
#SXP has bounced back from the 200 EMA after a retracement and a breakout of the trendline. It is now expected to move towards the previous swing high level.
TF : 2H
Entry : $0.2592
Target : $0.2894
SL : $0.2495
#SXP/USDT analysis :
#SXP is presently in an uptrend, forming higher highs (HHs) and higher lows (HLs). It is expected to experience a pullback near its support zone and is likely to bounce back from there to test higher levels.
TF : 1h
Entry : $0.2416
Target : $0.2538
SL : $0.2339
✅✅ 150% Profit on #SXP/USDT for our Premium Members on Binance Futures/Bybit Futures/OKX Futures& KuCoin Futures
👁🗨Contact @primemod to enter the premium group & make daily profit
#SXP bounced from the support zone on Weekly time frame,now price is trying to break up the falling wedge pattern, breakout incoming..
📈
❄️@signal_bitcoins❄️
❄️@Shadow_support0o❄️