Если запустить 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
🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION
Who Defines Ethiopia?
State Formation, Violence & the Clash Between Aithiopology vs Ethiopology
🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations?
🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens.
📅Jan. 02, 2026
🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00
🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First
🗣️Guest: Alexander Yohannes — Red Nile Media
🎛️Moderator: Sheralin
📡Ethiopia First. Always.
🔴RedNile Media
👇Join ኢትዮጵያ ትቅደም Telegram Channel
https://t.me/+AAE_Pc8aWTczYTA0
#Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst
🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION
Who Defines Ethiopia?
State Formation, Violence & the Clash Between Aithiopology vs Ethiopology
🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations?
🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens.
📅Dec 19, 2025
🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00
🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First
🗣️Guest: Alexander Yohannes — Red Nile Media
🎛️Moderator: Sheralin
📡Ethiopia First. Always.
🔴RedNile Media
👇Join ኢትዮጵያ ትቅደም Telegram Channel
https://t.me/+AAE_Pc8aWTczYTA0
#Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst