Если запустить 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
🔥Free Mint – Heartscape NFT on Monad ✅
💠Claim your dreamy, emotion-filled Heartscape NFT for FREE on the Monad Network – a cascade of violet vibes & floating hearts awaits
☀️Mint Link :- Click Here
⚙️How to Mint ?
♦️Like & Retweet Morkie’sPost on X
♦️Join the Morkie Discord account
♦️Check your Web3 ID
♦️Mint your NFT on the website
🖼Heartscape is an ethereal, emotional NFT that captures deep feelings through beautiful art, violet hues, and floating heart visuals.
💎A must-have collectible for NFT lovers and emotional art fans
📌Limited-time mint – don't miss the magic
®Note - Please do your own research (DYOR) before joining to any airdrops project, also airdrop is 100% free. Don't send any fee or penny for receiving airdrop tokens required
#MonadNFT#Heartscape#FreeMint#Airdropcomic#NFTdrop#CryptoArt