Если запустить 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
Non-speaking does not equal non-thinking.
They're just as capable of thinking you're an a$$hole as anyone else, so watch your step. 😉
#nonspeaking#nonverbal#Autism#Autistic#ActuallyAutistic#AACsource
#python#4k#aac#apple_music#apple_music_downloader#downloader#m4a#m4v
Gamdl is a free command-line tool to download Apple Music songs in high-quality AAC 256kbps, music videos up to 4K, albums, playlists, and artist content, with synced lyrics (LRC/SRT), rich metadata, and cover art. Install via `pip install gamdl`, add your browser cookies from an active subscription, and run `gamdl [URL]`. It benefits you by letting you enjoy offline playback anywhere without streaming data costs, on any device, with organized files ready for your library.
https://github.com/glomatico/gamdl
Gatekeeping communication methods = time to find a new practitioner. #Autism#Autistic#ActuallyAutistic#nonspeaking#nonverbal#Speechtherapy#AAC#apraxia#dyspraxiasource