Если запустить 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
Grand #Ethiopian Renaissance Dam: how #Africa’s largest hydropower project Is powering #Ethiopia’s future
A detailed examination of the Grand Ethiopian Renaissance Dam – its construction, specifications, commissioning, regional impact, and remaining challenges.
The Grand Ethiopian Renaissance Dam (#GERD) is the largest hydropower project in Africa. Located on the #Blue_Nile in Ethiopia’s #Benishangul-Gumuz region, about 14km from the Sudanese border, the project has been delivered by Ethiopian Electric Power (#EEP) with major civil works undertaken by #Webuild Group (formerly #Salini Impregilo).
The objective of the dam is to increase Ethiopia’s electricity generation capacity, reduce dependence on imported energy, and support long-term industrial and economic development.
Construction began in 2011, and Ethiopia officially inaugurated......
Read more: https://www.waterpowermagazine.com/analysis/grand-ethiopian-renaissance-dam-how-africas-largest-hydropower-project-is-powering-ethiopias-future/?cf-view