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

Резултати

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

Пребарај: #stalking

当前筛选 #stalking清除筛选
Libreware

@libreware · Post #1574 · 07.04.2026 г., 12:21

SharedTrace #Python tool for getting additional info by shared link (usernames, avatars, IDs etc). Support TikTok, Instagram, Discord, ChatGPT, Perplexity and other platforms. https://github.com/hondling/sharetrace @cybdetective #socmint#tracking#trackers#stalking#surveillance#why

Libreware

@libreware · Post #1565 · 20.03.2026 г., 14:38

SystemD Root Access Exploit Found, Devuan Team Calls SystemD "Unicorn Sh*t" "Found yet another high severity #systemd bug in #Ubuntu: local root privilege escalation (CVE-2026-3888) https://cybersecurity88.com/news/ubuntu-cve-2026-3888-timing-flaw-in-systemd-cleanup-enables-root-privilege-escalation/ Let us wish all #Devuan users a wonderful day out with their family for a merry father's day, instead of showeling unicorn shit." https://xcancel.com/DevuanOrg/status/2034560405968712179 https://www.youtube.com/watch?v=_yukEnElXUg Lennart Poettering #microsoft#Linux#stalking#surveillance#backdoor#trojan

Libreware

@libreware · Post #1564 · 20.03.2026 г., 00:42

#Systemd Adds #Age#Verification & #Reddit#Linux Censors Age Verification Posts Plus: Which Open Source Operating Systems plan to include Age Verification? The Lunduke Journal compiles a list. Does It Age Verify?: https://github.com/BryanLunduke/DoesItAgeVerify https://lunduke.com https://www.youtube.com/watch?v=M3erhbwqIAM Lennart Poettering #microsoft#stalking#surveillance#backdoor#trojan