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

Резултати

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

Пребарај: #emotionalintelligence

当前筛选 #emotionalintelligence清除筛选
Teach For Uzbekistan | Official

@teachforuzbekistan · Post #277 · 30.07.2025 г., 17:08

🧠 Yangi vazifalar oldidan psixologik tayyorgarlik! 💪 Yozgi institut doirasida ishtirokchilar uchun muhim mashg‘ulotlar tashkil etildi. Yangi bosqichga puxta tayyorlanish maqsadida psixolog Nissa Lebedinskaya tomonidan “Team building” mavzusida amaliy mashg‘ulotlar o‘tkazildi. 🧘‍♀️ Ushbu sessiyalar davomida ishtirokchilar o‘z emotsiyalarini anglash va boshqarish, jamoada samarali ishlash, o‘ziga bo‘lgan ishonchni mustahkamlash bo‘yicha muhim ko‘nikmalarga ega bo‘lishdi. 🔥 Bu mashg‘ulotlar ularni yangi vazifalarga ruhiy va psixologik jihatdan tayyorlanishga yordam berdi. Institutdagi har bir bosqich — ulkan o‘sish sari dadil qadam! 🤝O‘zbekiston Yoshlar ishlari agentligiga ushbu faoliyatlarni amalga oshirishda ko‘rsatgan yordami uchun alohida minnatdorchilik bildiramiz. 💬💬💬🗣 🧠 Psychological Preparation Before New Responsibilities! 💪 As part of the Summer Institute, important sessions were organized for participants. In order to thoroughly prepare for the next stage, practical training on the topic of “Team Building” was conducted by psychologist Nissa Lebedinskaya. 🧘‍♀️ During these sessions, participants gained important skills in recognizing and managing their emotions, working effectively in a team, and strengthening self-confidence. 🔥 These trainings helped them prepare mentally and psychologically for new responsibilities. Each stage of the Institute is a confident step toward great growth! 🤝 Special thanks to the Youth Affairs Agency of Uzbekistan for their support in making these activities possible. #SummerInstitute2025#TeamBuilding#PsychologicalSupport#LeadershipJourney#SelfAwareness#EmotionalIntelligence#GrowthMindset#FutureLeaders#TogetherWeGrow#TeachForUzbekistan Telegram |Linkedln| Instagram |Youtube

IELTS|Newspapers & Magazines|English

@emagzinewspars · Post #9351 · 15.10.2025 г., 10:30

#The_Harvard_Business_Review🇺🇸📕[PDF]⬇️ #November2025 #December2025 #Monthly_Magazines For learning, for free(dom). @backupofmagazines In this issue, leaders are urged to confront the #HiddenBeliefs that silently block their growth. This edition explores how to build #OctopusOrganizations in a complex world, master #GenAI strategy, and learn from #PrivateEquity playbooks. From “strategic hibernation” to smarter disagreement, the issue decodes #EmotionalIntelligence and #Leadership in times of uncertainty. Discover why “hands-on” CEOs outperform, how to monetize your data, and why #AIpilots often fail. Featuring #EstherDuflo and case studies on CHRO missteps, this issue is a must for #OrganizationalChange agents. #HBR#Strategy#Management#GrowthMindset#BusinessLeadership