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 слични објави

Пребарај: #itparkuz

当前筛选 #itparkuz清除筛选
StartupBase

@startupbaseuz · Post #5737 · 07.05.2025 г., 11:26

Ajou University in Tashkent hosted DesCom Quest 2025 — Uzbekistan’s first-ever design hackathon, organized by DesCom Design Community and GDG Tashkent. Over 70 creatives in 20 teams worked intensively across three tracks — EdTech, FinTech, and TourTech — developing brand concepts, SMM strategies, landing pages, and UX/UI prototypes. By the end of the day, teams pitched their ideas to a panel of judges. And the winners are: 🏆Track Champions • FinTech: Tarroh • EdTech: Emotion First • TourTech: DSGNRS Team 🎖Special Awards by IT Park • Currex • User First All winners received Yandex Stations, while everyone gained hands-on experience, fresh insights, and a strong creative network. A huge thank you to everyone involved — this is just the beginning for the future of design in Uzbekistan! #DesComQuest2025#DesignHackathon#ITParkUz#UXDesign#GDGTashkent#EdTech#FinTech#TourTech