Если запустить 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
We’re thrilled to announce the upcoming launch of our next game, HOT HAMSTER, on the 11th of September, 2024! 🔥🔥
This game is a bonus addition to our TRUELAB HOT SERIES offering of classic games, and it features 30 variable lines and an expanding wild that grows to cover the entire reel! Easy to understand and fun to play - the essence of what the classic series is meant to be.
🎰 SPIN IT: https://bit.ly/hot-hamster-demo
#HotHamster#ComingSoon#ExpandingWild#TrueClassic#TrueGames#TrueSlots
🔞 | Play Responsibly
🚨 OUT NOW: HOT HAMSTER 🚨
We’re excited to announce the launch of HOT HAMSTER, the latest addition to our TRUELAB HOT SERIES! 🎉 Featuring 30 variable lines and an expanding wild that grows to cover the entire reel, this game captures the fun and simplicity of classic slots while delivering a fresh experience for all players.
🔥 SPIN IT: https://play-test.launcher-gg.com/game/hot-hamster-v4/static/index.html
#HotHamster#NewGame#ExpandingWild#TrueClassic#TrueGames#TrueSlots
🔞 | Play Responsibly