@borkena · Post #5752 · 28.01.2026 г., 18:07
Lessons Amhara Fano National Movement (AFNM) Can’t Ignore. Read more. https://borkena.com/2026/01/28/ethiopia-lessons-amhara-fano-national-movement-afnm-cant-ignore/#Ethiopia#Fano#AFNM
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #22 · 19 јан.
Заметка начинающим, которые часто сталкиваются с подобной непоняткой. Ситуация следующая, есть список файлов: names = [ 'image.bmp', 'second.txt.bkp', 'data.db', '.config.cfg', 'file.ext.bkp' ] И мы хотим убрать у них окончание ".bkp". Не знаю зачем, пример довольно надуманный) Но суть он показывает, а это главное. Те, кто еще не очень знаком с библиотекой os.path или pathlib, вероятно решат обработать имена как строки. И тут вполне подойдет метод строки strip(). Что делает этот метод? Он отрезает указанные символы по обеим сторонам строки. Если ничего не указать, то убирает невидимые символы (пробелы, табуляции и переносы строк). В нашем случае будет выглядеть вот так: >>> name.strip('.bkp') То есть просим удалить строку '.bkp' по краям имени файла, если таковая есть. Можно применить аналогичный метод rstrip(), чтобы отрезать только справа, но для этого примера используем обычный. >>> for name in names: >>> print(name.strip('.bkp')) image.bm second.txt data.d config.cfg file.ext Хм, что-то не то с нашими именами! Что случилось??? Видим нежелательное переименование в именах, где и близко не было указанной строки '.bkp' А дело всё в том, что данный метод ищет не указанную строку, а указанные символы, и не важно в каком порядке. Для метода strip() строка '.bkp' это не паттерн для поискаа список символов. Потому он отрезал симовол 'p' от '.bmp' и удалил точку из файла '.config.cfg'. Как тогда правильно заменить именно паттерн? Для начинающего можно посоветовать метод строки replace(), который как раз использует для замены указанную строку целиком. В нашем примере заменим её на пустую строку. >>> for name in names: >>> print(name.replace('.bkp', '')) image.bmp second.txt data.db .config.cfg file.ext Уже лучше, но помните, это лишь пример про strip(). Для работы с именами файлов есть способы и более "правильные", дающие однозначно верный результат. Я взял файлы только в качестве примера. Даже replase() тут может сделать не то что ожидаем. Просто впредь будьте внимательны с этим strip(). #basic
Hashtags
Пребарај: #afnm
@borkena · Post #5752 · 28.01.2026 г., 18:07
Lessons Amhara Fano National Movement (AFNM) Can’t Ignore. Read more. https://borkena.com/2026/01/28/ethiopia-lessons-amhara-fano-national-movement-afnm-cant-ignore/#Ethiopia#Fano#AFNM
@borkena · Post #5779 · 14.02.2026 г., 18:03
Strategic Dynamics of the Ethiopian Federal Government and AFNM (Fano): A Military–Political Analysis. Read more. https://borkena.com/2026/02/14/ethiopia-strategic-dynamics-of-the-ethiopian-federal-government-and-afnm-fano-a-military-political-analysis/#Ethiopia#politics#AFNM#Amhara
@borkena · Post #5775 · 08.02.2026 г., 20:45
AFNM, TPLF Alignment, and the Risks of Transitional Power Capture in Ethiopia. Read more. https://borkena.com/2026/02/08/afnm-tplf-alignment-and-the-risks-of-transitional-power-capture-in-ethiopia/#Ethiopia#politics#AFNM#TPLF
@addisstandardeng · Post #21740 · 16.03.2026 г., 16:37
News: Amid voter registration in #Amhara region, Fano warns political parties, others against participating in elections As voter registration continues in the Amhara Region ahead of the 1 June general elections, the Amhara #Fano National Movement (#AFNM) has issued a sweeping warning to political parties, media figures, religious leaders, civic associations & other institutions, saying any involvement in the electoral process will be viewed as aligning with the federal government’s agenda. It warned that any entity assisting the election process in any way would be “considered enemies of the Amhara people equal to the government.” The Fano statement said that institutional leaders, media personalities, religious fathers, civic associations & political parties that “escort this fraudulent tactic” are demonstrating either collaboration with what it described as the government’s strategy or “extreme subservience.” The National Election Board of #Ethiopia..... Read more: https://addisstandard.com/?p=55899
@borkena · Post #5778 · 14.02.2026 г., 18:01
አፋብን ለመንግሥት የፀጥታ አካላት የምህረት አዋጅ አወጀ https://shorturl.at/e2ADf#Ethiopia#Fano#AFNM#news#ዜና
@borkena · Post #5920 · 04.03.2026 г., 08:27
የአማራ ፋኖ ብሔራዊ ንቅናቄ (አፋብን) በምስራቅ አርሲ ሀገረ ስብከት ስር በሚገኙ ወረዳወች ነዋሪ የሆኑ የቤተ ክህነቷ ታላላቅ አባቶች፣ ካህናት እና ምዕመናን ላይ በደረሰባቸው ጭፍጨፋ ከፍተኛ ሀዘን የተሰማው መሆኑን ገለፀ። ሙሉ መግለጫው ከላይ ተያይዟል። #Ethiopia#Oromia#Arsi#AFNM#Ethiopiannews#news#ዜና
@addisstandardeng · Post #21763 · 18.03.2026 г., 15:30
#Ethiopia: #AFNM seeks clarification from #ICE over “Tier III terrorist group” reference to Fano Amhara Fano National Movement (AFNM) has formally requested clarification from the U.S. Immigration and Customs Enforcement after the agency publicly referred to “#Fano” as a “Tier III terrorist group” in a recent statement. In a statement posted on its official platforms, ICE said its Phoenix officers deported #Solomon_Bogale on 5 March after he was denied immigration benefits. The agency stated it had identified multiple social media accounts in which Bogale “openly identified himself as a member of Fano, a Tier III terrorist group.” It further alleged that his posts called for persecution and violence against Tigrayans, including references to “cleansing” them from Ethiopia. In a letter, addressed to Todd M. Lyons, a senior official performing the duties of ICE director, AFNM Chairman Zemene Kassie said the wording has “generated understandable questions” Read more: https://addisstandard.com/?p=55942
@addisstandardeng · Post #21608 · 04.03.2026 г., 12:29
Analysis: How #national army battlefield report, #Fano statements in Feb–March lay bare the persistence and intensity of ongoing war in #Amhara region More than two and a half years after the armed confrontation erupted in #Ethiopia’s Amhara region in April 2023, developments from early 2026 underscore not only the persistence of the war but also its deeply complex nature. Military briefings issued on 03 March by the Ethiopian National Defense Force (#ENDF), and by the Amhara regional state media outlet on 01 March, both of which came two weeks after a statement released by Amhara Fano National Movement (#AFNM) on 14 February 2026, illustrate a war defined as much by clashing narratives as by sustained fighting on the ground. The statements also reveal parallel & mutually exclusive interpretations of the same war, each claiming momentum, legitimacy, and popular support, directly contradicting earlier official assurances of imminent victory and casting,..... Read more: https://addisstandard.com/?p=55536
@borkena · Post #6083 · 28.03.2026 г., 08:25
The Amhara Fano National Movement has the honor of extending its sincere congratulations on your recent appointment by the African Union Commission. #AU#AfricanUnion#HornofAfrica#Amhara_Fano#AFNM#Kikwete
@borkena · Post #5852 · 25.02.2026 г., 07:34
በሰሜን ወሎ ዞን ሲሪንቃ ከተማ በተፈፀመ የከባድ መሳሪያ ጥቃት የአባትና ልጅ ህይወት አለፈ። የመንግስት ጦር በአካባቢው በፈፀመው የከባድ መሳሪያ ጥቃት አንድ የ65 አመት አባት እና የ23 አመት ልጃቸው መገደላቸውን የአካባቢው ነዋሪዎች ለቦርከና ተናግረዋል። ነዋሪዎቹ ለቦርከና በሰጡት አስተያየት የከባድ መሳሪያ ጥቃቱ በመኖሪያ ቤት ላይ መድረሱን ገልፀዋል። ሁለቱ ግለሰቦች ህይወታቸው ያለፈው በቤት ውስጥ ስለነበሩ እንደሆነ ገልፀው፣ ሌሎች የቤተሰብ አባላት ከቤት ውጭ በመሆናቸው ከጥቃቱ መትረፋቸውን አስረድተዋል። ከአባትና ልጁ በተጨማሪ በቤት ውስጥ የነበሩ እንስሳቶቻቸው ተገድለዋል ተብሏል። በአካባቢው የነበረው ተኩስ ከባድ እንደነበር የገለፁት ነዋሪዎቹ፣ ከአዲስአበባ እና ከደሴ የመጡ ተጓዦች መንገዱ በግጭቱ ምክንያት በመዘጋቱ ህይወታቸውን ለማትረፍ ከተሽከርካሪ ወርደው በመኖሪያ መንደሮች ለመግባት መገደዳቸውን አብራርተዋል። የአይን እማኞቹ የከባድ መሳሪያ ጥቃቱ የደረሰው ሰሞኑን የፋኖ ሀይሎች በወልዲያ ዙሪያ ሰፍሮ በሚገኘው የመከላከያ ሀይል ላይ ጥቃት ማድረሳቸውን ተከትሎ መሆኑን ገልፀዋል። በዚህ ጦርነት ከታጣቂዎቹ ከፍተኛ ጉዳት የደረሰበት የመንግስት ጦር በወሰደው የአፀፋ እርምጃ ነው ንፁሃን ዜጎች ህይወታቸው ያለፈው ተብሏል። #Ethiopia#EthiopianNationalDefenceForce#AFNM#fano#AbiyAhmed#BirhanuJulla#news#መከላከያ#ፋኖ#ዜና
@borkena · Post #6026 · 15.03.2026 г., 20:11
ፋኖ የፖለቲካ ፓርቲዎች ራሳቸውን ከምርጫ እንዲያገሉ አሳሰበ። ሙሉ መግለጫው ተያይዟል። #Ethiopia#Ethiopian_news#news#AFNM#Election#NEBE#ምርጫ2018#አፋብን#ፋኖ#ዜና#ቦርከና_ዜና