Если запустить 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
Here the community of the world are able to sponsor street dog feeding , kind humans give left over table food to street dogs, video 🍿 the feeding , share 🎥 with the project and earn some $DOGS tokens 👍
www.Kennel.Ai
#streetdogfeeding#streetdogs#helpanimals#web3#erc721
🔗Kennel.Ai Official Links🐾🐕🦺
Website | Telegram | Telegram ANN | Facebook | Discord | Twitter | Reddit | Youtube | Instagram | Medium
🐾🦴🐾🦮🐾🐶🐾🐩🐾🦮🐾🐩🐾🐕🦺🐾
👉 Another DogData BoneDrop
🦴= 💰👈 + 😊🐾
🌹 Another Cared for Dog 😘
👉 Another Street Dog Feeding )😍🏆
Good Job 👈👈👏👏👏
Https://MyDogData.com
BoneDrop video Reward 👈
👉 5000 ETHBN ($6 reward ) 👈
https://vm.tiktok.com/ZMeJHgCe3/
https://t.me/joinchat/RQW9brTcQ_czYzk8
#bonedrop#etherbone#dogdata#ethbn#feedstreetdogs#streetdogfeeding#streetdogs#lovedogs
👉 Another DogData BoneDrop
🦴= 💰👈 + 😊🐾
🌹 Another Cared for Dog 😘
👉 Another Street Dog Feeding )😍🏆
Good Job 👈👈👏👏👏
Https://MyDogData.com
BoneDrop video Reward 👈
👉 5000 ETHBN ($6 reward ) 👈
https://vm.tiktok.com/ZMeJHgCe3/
#bonedrop#etherbone#dogdata#ethbn#feedstreetdogs#streetdogfeeding#streetdogs#lovedogs