Если запустить 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
🎉🎉 2,000 NFT Transactions Completed! 🎉🎉
The SingSing community is ON FIRE 🔥💎! Huge shoutout to all our karaoke tycoons making waves in the marketplace 🌟
Ready for more? Let’s keep the momentum going! 🚀🎤
#SingSingTycoon#NFTMilestone#KaraokeEmpire
🎤Announcement | Chat | X (Twitter) | Website | Game
🎉 Cheers to 30,000 NFT Transactions! 🎉
We’ve hit an incredible milestone thanks to our amazing community! 🚀 Here’s to more trades, more NFTs, and even bigger achievements ahead! 🔥
Thank you all for being part of this journey! 💎
#SingSing#NFTMilestone#30K
🎤Announcement | Chat | X (Twitter) | Website | Game
🎉10,000 NFT Transactions on SingSing Tycoon Marketplace!🎉
A huge thank you to our amazing community for making this milestone possible!
🚀 Your support keeps driving us forward, and we can't wait to see what’s next!
Here’s to many more NFTs and exciting moments ahead! 💥
#SingSingMarketplace#NFTMilestone#10KTransactions#Thank
🎤Announcement | Chat | X (Twitter) | Website | Game