Если запустить 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
The App That Google Couldn’t Shut Down
https://www.youtube.com/watch?v=Vlc255SwBXw
ReVanced Manager is an application that uses ReVanced Patcher to patch Android apps.
💪 Features
💉Patch apps: Apply any patch of your choice to Android apps
📱Portable: ReVanced Patcher that fits in your pocket
🤗Simple UI: Quickly understand the ins and outs of ReVanced Manager
🛠️Customization: Configurable API, custom sources, language, signing keystore, theme and more
🔽 Download
You can download the most recent version of ReVanced Manager at revanced.app/download or from GitHub releases.
Learn how to use ReVanced Manager by following the documentation.
Another option:
https://rvxapp.com
#yt#YouTube#Vanced#revanced