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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #345 · 9 окт.

Функция dir() - удобна для получения списка атрибутов у любого объекта. Ранее я писал про функцию __dir__() в модуле (не путайте её с переменной __all__(), которая указывает список объектов для импорта если встречается конструкция from module import *). Скорее всего вы уже знаете как использовать функцию dir(). Любой объект может реализовать метод __dir__() чтобы указать список имеющийхся и динамических атрибутов. И функция dir() поможет получить список этих атрибутов. >>> dir(str) ['__add__', '__class__', '__contains__', ...] У этой функции есть еще один способ применения. Её можно вызвать без аргумента, и в таком случае она вернёт список имён в текущем неймспейсе. >>> dir() ['__builtins__', '__doc__', '__file__', ...] >>> def test(): >>> x = 1 >>> print(dir()) >>> test() ['x'] #basic#tricks

Резултати

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

Пребарај: #menelikii

当前筛选 #menelikii清除筛选

⚔️ **THE BATTLE OF ADWA: AFRICA'S GREATEST VICTORY** ⚔️ **THE BATTLE OF ADWA: AFR 🏛️ March 1, 1896 - The day that changed African history forever! Emperor Menelik II led 100,000 Ethiopian warriors against 20,000 Italian colonial forces at Adwa. 👑ed 100,000 Ethiopian warri• Emperor Menelik II united all Ethiopian tribes • Empress Taytu Betul - strategic military advisor • Modern weapons acquired from European rivals ⚔️peror Menelik II led 1• 70% of Italian forces killed, wounded or captured • First African victory over European colonial power • Italy forced to recognize Ethiopian independence 🌍elik II led 100,000• Inspired anti-colonial movements worldwide • Pan-African pride and resistance symbol • Proved African military capability to the world ✊forever! Emperor Men• Ethiopia remained uncolonized • Victory celebrated across Africa and diaspora • March 1st - Victory Day in Ethiopia 🌟 When Africa stood up and said "NO" to colonialism! በአድዋ አፍሪካ ለቅኝ ግዛት "አይ" አለች! 🇪🇹 #Ethiopia#ኢትዮጵያ#BattleOfAdwa#MenelikII#AfricanPride#Anticolonial

Red Nile

@rednile12 · Post #11124 · 01.03.2026 г., 15:25

🇪🇹Adwa at 130: A Victory That Shaped a Continent By: Alexander Yoh. / @rednile12 On March 1, 1896, Ethiopia achieved the impossible—defeating Italy and sending shockwaves through colonial powers. Adwa wasn’t just a battle; it was a statement: Africa can defend its sovereignty. Today, Adwa’s legacy is a blueprint for the future—unity across diversity, strategic independence, and self-reliance. From Menelik II’s brilliant leadership to Ethiopia’s modern projects like the Grand Renaissance Dam, the message is clear: our strength is in standing together and shaping our destiny. 📖 Read the full story here: Adwa’s 130-Year Legacy #የጥቁር_ህዝብ_ኩራት#ዓድዋ_130 #የኢትዮጵያውያን_ድል#Adwa130#EthiopianPride#AfricanUnity#Sovereignty#MenelikII#TaytuBetul#RedNileMedia#AfricanResilience#AdwaLegacy#SelfReliance