Если запустить 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
🎯🎯Excellent 30% Profit on #FLUX/USDT for all Premium Members
🚀🚀It has crossed all the targets
👁🗨Contact @futurechief to enter the premium group & make daily gains
#FLUX/USDT analysis :
#FLUX is currently in a downtrend, forming lower lows (LLs) and lower highs (LHs) below the 200 EMA. The price is rejecting from the resistance zone and is expected to decline further, maintaining its bearish momentum and potentially testing lower levels. Wait for pullback for short entry.
TF : 4h
Entry : $0.5124
Target : $0.4521
SL : $0.5531
#FLUX/USDT analysis :
#FLUX has recently rebounded from the support zone. It is anticipated to keep rising and test the resistance zone on the lower time frame (LTF).
TF : 1h
Entry : $0.5469
Target : $0.5847
SL : $0.5207