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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #281 · 18 авг.

Что-то вы гоните насчет "привычного вида формата 755 и 644". Я вот вообще не понял что это!😳 Действительно, что означают цифры которые мы получили в прошлом посте? Это кодировка, заключающая в себе режимы доступа к файлу. Подробней можно почитать в статье про chmod. Там можно увидеть альтернативное обозначение того же самого с помощью символов r w x, что значит чтение, запись, исполнение. Чтобы преобразовать восьмеричное число в такое обозначение в Python есть готовая функция >>> stat.filemode(0o755) '?rwxr-xr-x' Мы видим 3 группы по 3 символа, дающие 3 типа доступа для 3 типов юзеров. А что за знак вопроса в начале? Давайте передадим в эту функцию необрезанное значение от os.stat >>> stat.filemode(os.stat(path).st_mode) 'drwxr-xr-x' Это данные, которые мы безжалостно обрезали в прошлый раз😼 Первый символ обозначает тип объекта. Это может быть файл (-), директория (d) или симлинк (l). Вот простая схема данной кодировки [1][3][3][3] │ │ │ │ │ │ │ └──> Others Permissions │ │ └─────> Group Permissions │ └────────> Owner Permissions └───────────> File Type (разверните экран если вы с телефона) Если вы попробуете получить пермишены для симлинка то получите пермишены для файла >>> path = '.venv/bin/python3' >>> stat.filemode(os.stat(path).st_mode) '-rwxr-xr-x' Чтобы получить свойства именно симлинка, нужно это явно указать >>> stat.filemode(os.stat(path, follow_symlinks=False).st_mode) 'lrwxrwxrwx' #tricks#basic

Резултати

Пронајдени 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 🇺🇸