TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #422 · 30 мар.

Если запустить 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

Резултати

Пронајдени 4 слични објави

Пребарај: #afp

当前筛选 #afp清除筛选
Addis Standard

@addisstandardeng · Post #21455 · 19.02.2026 г., 13:45

#AFP journalist blocked from flying to #Ethiopia's #Tigray region An AFP journalist was on Thursday barred from boarding a flight to Tigray in northern Ethiopia, where renewed tensions in recent months have raised fears of fresh conflict. An accredited AFP reporter based in Addis Abeba was blocked from boarding a flight to Shire in Tigray because he did not have authorization from the Ethiopian Ministry of Foreign Affairs. https://addisstandard.com/?p=55247

Addis Standard

@addisstandardeng · Post #21460 · 20.02.2026 г., 07:14

#Drone strike at #Sudan's border with #Ethiopia kills one: authorities A drone attack blamed on paramilitary forces killed one person Thursday in the Sudanese town of Kurmuk, on the border with Ethiopia, authorities said. "One person was killed, eight injured and 16 houses destroyed," a government source told #AFP by phone from #Kurmuk, a border town controlled by the army in Sudan's Blue Nile state. In a statement, Kurmuk governor Abdelaty Mohamed al-Fiky blamed the strike on the paramilitary Rapid Support Forces (#RSF), at war with the army since April 2023, and their allies, a faction of the Sudan People's Liberation Movement-N orth (SPLM-N). Blue Nile state is the latest front in nearly three years of devastating war, now being fought mainly with deadly drone strikes. The fighting has left tens of thousands dead and around 11 million displaced, creating the world's largest hunger and displacement crises. https://www.facebook.com/share/18JNprLucH/

Addis Standard

@addisstandardeng · Post #21930 · 03.04.2026 г., 09:39

News: AI-generated war narratives fuel #Ethiopia–Eritrea tensions online: report Artificial intelligence (#AI) generated images and videos portraying a hypothetical #Ethiopian military takeover of #Eritrea’s strategic port of #Assab are increasingly shaping online narratives and inflaming tensions between the two countries, according to a report by #AFP. One of the most prominent creators, 24-year-old Ethiopian law graduate Eliyas Kebede Zemedkun, who has more than 87,000 Facebook followers, told AFP he has spent much of 2026 producing AI-generated content depicting Ethiopia occupying Assab to promote what he described as “Ethiopia’s national narrative.” “I am also motivated to use AI-generated content to challenge narratives that try to downgrade the national army through different demoralizing tactics,” he said, adding that he uses free platforms such as #ChatGPT and #Gemini alongside editing software to create the material. Read more: https://addisstandard.com/?p=56283