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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #214 · 12 фев.

Как правильно проверить атрибуты доступа файла? То есть доступна ли запись в файл или является ли он исполняемым? Для этого в Python есть функция os.access() Проверять так: os.access(path, flag) Функция вернёт bool в зависимости от наличия указанного флага. Всего есть 4 флага проверки: os.F_OK - наличие файла на диске os.R_OK - доступ на чтение os.W_OK - доступ на запись os.X_OK - доступ на исполнение Например, вместо try-except лучше делать так (пример из документации): if os.access("myfile", os.R_OK): with open("myfile") as fp: return fp.read() #basic#libs

Hashtags

Резултати

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

Пребарај: #decolonial

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

@rednile12 · Post #10913 · 30.01.2026 г., 16:32

Ethiopia’s Path to a National Philosophy Every nation must ask: How do we think ourselves into the future? For Ethiopia, this is urgent. It’s not about nostalgia or propaganda—it’s about building a framework to interpret our past, critique our present, and shape our future. We already have the raw materials in our intellectual tradition: Zamanawi‑Seletane—Ethiopia’s encounter with modernity. From Zärʾa Yaʿǝqob’s 17th‑century rationalism to modern debates on sovereignty, we can forge a decolonial philosophy. This means reclaiming indigenous thought, moving beyond externally‑driven models, and shaping modernity on our own terms. #Ethiopia#Philosophy#ZamanawiSeletane#Decolonial#Modernity 👇👇👇👇