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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

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

Пребарај: #panafricanunity

当前筛选 #panafricanunity清除筛选
Red Nile

@rednile12 · Post #10459 · 23.12.2025 г., 16:53

🔺Continuation from above @rednile12 🌍 Key Themes 1️⃣ Impending Crisis & Imperialism The “Black Winter” represents a deliberate destabilization of West Africa—akin to an “Arab Spring” engineered for the region. Traoré warns of wars, terrorism, and economic predation orchestrated by imperial powers: “My conviction, my analysis, is clear: something is happening in West Africa. I have called it the Black Winter. The Black Winter is coming. It will be a very cold winter. A bloody winter. A deadly winter. You will ask me why. Winter will come because war is spreading in West Africa. The imperialists are doing everything they can to plunge the region into fire and bloodshed. We risk killing each other in horrific ways while others stand ready to plunder our resources and impose their will. And those who survive this tragedy will have only two choices: unite definitively against imperialism or remain enslaved until they perish.” 2️⃣ Internal Sabotage & Division Traoré criticizes Africans who undermine collective defense: “By founding the AES Confederation, we anticipated this icy winter. Every day, we search for wood to light a fire—a fire that will warm the hearts, minds, and souls of Africans. We hunt wolves to use their pelts to make coats. We build mountains—solid and powerful mountains—to break the icy winds. But unfortunately, some of our own are determined to sabotage this effort. They are dousing the tree trunks with water to prevent the fire from burning. They transform into wolves so that hunters cannot catch them. They break rocks to prevent the building of mountains. We cannot accept that cowardly heads of state hide behind so-called 'free' media to discourage, insult, and incite hatred among the people. They are vile, spreading hatred daily on social media. Why do we Black people cultivate hatred among ourselves?” 3️⃣ Pan-Africanism & Unity The speech challenges the continent to reflect on its solidarity: “And when winter arrives, those who fought will come seeking refuge. They will want to wear the coats we have made, take shelter behind the mountains we have built, and warm themselves by our fire. So the real question is this: What will become of Pan-Africanism when winter arrives? Why are we unable to see the danger approaching? Why can't we unite to stop it? Let them be certain of one thing: we are united and we will remain so. No manipulation can divide us.” 4️⃣ Self-Reliance & Sovereignty Traoré frames AES institutions—like BCID-AES Bank and AES TV—as proactive defenses against the crisis: “Everything will not be perfect. Everything will not progress at the pace we would like. But we are moving forward—calmly, resolutely—and we will achieve our goal. We pray for protection if winter must come, because through it, we will achieve freedom and unity.” 🗣 Rhetorical Style ▪️Metaphor & Allegory: “Black Winter” for isolation, bloodshed, and death. ▪️Repetition & Urgency: “Winter is coming” evokes inevitability. ▪️Direct Address & Inclusion: “You will ask me why… we” fosters solidarity. ▪️Contrast of Alarm & Hope: Harsh words (“vile,” “miserable”) versus affirmations of unity. Traoré’s style mirrors Thomas Sankara, blending militaristic charisma with Pan-African inspiration. 📌 Context & Impact ▪️Delivered as AES evolved into a full confederation post-ECOWAS withdrawal, the speech reinforces sovereignty amid jihadist threats, sanctions, and Western influence. ▪️Signals defiance and appeals to non-Western partners, while naming internal “saboteurs” risks polarizing some factions. ▪️Positions Traoré as a visionary Pan-African leader, galvanizing anti-imperialist sentiment across the continent. 🔴 Follow @rednile12 for Geopolitical updates #BlackWinter#AESConfederation#PanAfricanUnity#WestAfrica#AntiImperialism#SelfReliance#RedNileMedia#Geopolitics#AfricaRising