Если запустить 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
#Wcoin Listing January 25
The moment you've been waiting for has arrived - the announcement that will change everything🎉
Your unwavering support has made W-Coin what it is today and we are proud to be on this journey with you❤️
🗝 Apart from 20 keys for everyone, here is our New Year's gift for you:
Preparations for the listing of W-Coin are complete January 25
The final countdown starts NOW. This is our chance to make history together🤝 - Let's make every step unforgettable!
May this festive season bring you joy, success and endless rewards in the new year🎁
https://t.me/wcoin_tapbot/wcoin_app?startapp=NDUyMzA4MDEy
⛏#wcoin#airdrop
January Listing 🔥
✅#Nodepay: 6 January
✅#MomoAi: 6 January
✅#Xterio: 8 January
✅#Sidekick : 8 January
✅ $Vertus :13 January
✅#Seed : 15 January
✅#Xcoin : 20 January
✅#Tapswap : 23 January
✅#Wcoin : 25 January
✅#CommunityGaming : 28 January
Unofficial Listing
✅#PAWS
✅#UXUY
✅#Yuligo
✅#MemeWar
✅#DuckChain
✅#Celia
Stay connected