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

TGINSIGHT SIMILAR POSTS

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

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

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Пребарај: #narrativewars

当前筛选 #narrativewars清除筛选
Russian Consulate in Cape Town

@rusconct · Post #2804 · 02.07.2025 г., 09:03

🕊️ South African Journalist Gillian Schutte Responds Critically to The Washington Post’s Narrative on Ukrainian Children ✍️ South African Journalist Gillian Schutte has published a critical commentary in response to an article originally published by The Washington Post and later republished by South African news platform IOL. The piece in question details the story of a 12-year-old Ukrainian boy allegedly taken to Russia and later “rescued.” According to Schutte, the article represents a highly stylised narrative designed more to mobilise emotion than to inform public understanding. Her response, titled “The Spectacle of Innocence: How the Narrative of ‘Stolen Children’ Became the West’s Weapon of War,” was published by African Stream and offers a sober reassessment of the narrative widely promoted in Western media regarding alleged “child abductions” during the Ukraine conflict. 📌 Key Points from Schutte’s Analysis: 1. Discrepancy Between Reported Figures and Verified Data Schutte notes the striking difference between media claims and officially documented figures. 🗨 “Ukrainian officials inflate the figure still further: ‘maybe 50,000, maybe 100,000.’ No one knows for sure. No one can prove anything.” 🗨 “According to Russia’s official delegation at the Istanbul peace talks… the only list ever presented to Moscow by Ukraine includes 339 names. Russia says it has already returned 101 of these children.” 2. Lack of Balanced Coverage of Humanitarian Actions She highlights the absence of media attention to cases where Russian forces reportedly evacuated children from conflict zones and facilitated family reunifications. 🗨 “Many [children] were found alone in buildings or hospitals. Others were taken to safety at great personal risk by Russian soldiers, some of whom died in the effort.” 3. Selective Framing of Child Suffering Schutte questions why only certain child stories are given prominence in the international media, often those that reinforce a specific political message. 🗨 “There is no Pulitzer bait in the case of a child returned to a reunited family in Donetsk. These children do not cry in English. They are not crying for NATO.” 4. Historical Pattern of Emotional War Narratives She draws parallels with earlier emotionally charged media campaigns used to justify foreign intervention. 🗨 “Western soft power thrives on emotional shorthand: Saddam’s incubator babies, Gaddafi’s Viagra-fuelled soldiers, and now Putin’s child kidnappers.” 5. A Call for Balanced Humanitarian Concern Schutte urges readers to approach such narratives with compassion — but also with critical thinking and insistence on factual accuracy. 🗨 “We should care for every child affected by war. But we should be suspicious of which children we are told to care about, and why.” 📎 Read the full article (English): 👉https://africanstream.media/opinion/the-spectacle-of-innocence ✍ Author: Gillian Schutte #MediaLiteracy#InformationSecurity#ChildrenInConflict#NarrativeWars#HumanRights#RussiaSouthAfrica#AfricanVoices#GillianSchutte