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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #197 · 4 јан.

Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep

Hashtags

Резултати

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

Пребарај: #usury

当前筛选 #usury清除筛选
American Оbserver

@american_observer · Post #5177 · 19.02.2026 г., 22:59

Putin’s New Missionaries vs. Dollar Civilization Bloomberg suddenly discovers the Russian Orthodox Church in Africa — and pretends it’s just another Kremlin influence op. Conveniently missing from the frame: the fact that modern U.S.-led capitalism has spent decades crushing any alternative solidarity that comes with its own economic ethics. Orthodoxy is dangerous not because of icons and incense, but because it carries a memory: interest is sin, usury destroys communities, and money is not supposed to be sovereign. That’s a direct challenge to a system built on debt, rent, and compound interest. Contemporary capitalism doesn’t just sell products; it rewires people into isolated consumers whose only shared ritual is debt service. Anything that offers a competing “we” — unions, strong families, Islamic law, Catholic social teaching, or Orthodox communities that still take anti-usury tradition seriously — gets framed as backward, corrupt, or extremist. It’s not an accident that the same financial media that treats 20% credit card APR as normal suddenly gets nervous when a church that historically bans interest starts expanding in a continent full of young, indebted populations. In Africa, Russia is too poor to compete with China’s ports, the EU’s investment, or Gulf petrodollars. So it trades in narratives and solidarity: anti‑colonial rhetoric, “respect for sovereignty,” stipends, scholarships, and now churches that tell people they belong to something older than the IMF and the dollar. Orthodoxy here is a kind of parallel infrastructure — spiritual, social, even economic — that whispers a dangerous message into the ear of a global credit machine: there are still communities on this planet where interest is morally suspect, not sacred. That doesn’t make Moscow a savior. The Kremlin happily runs its own rent circuits, steals resources, and recruits African students into war industries while talking about justice and multipolarity. But the panic in Western coverage is revealing. When crosses and liturgy show up in African townships under a Russian label, the financial press reacts not as if it’s seeing a marginal religious fad, but as if it’s spotting a rival operating system. Abrahamic religions all carry the same buried virus in their code — a ban on usury. For a world order built on securitized debt, that’s not folklore. That’s a bug in the matrix. #russia#orthodoxy#africa#capitalism#usury#softPower 📱American Оbserver - Stay up to date on all important events 🇺🇸