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

Резултати

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

Пребарај: #aga

当前筛选 #aga清除筛选
UXLINK

@uxlink_community · Post #518 · 14.06.2025 г., 09:19

UXLINK Season 4 Airdrop Event & 2025 H1 Business Review Dear UXLINK Global Community, We are pleased to share our comprehensive 2025 first-half business review and announce the launch of the Season 4 Airdrop Event, designed to recognize and reward our valued contributors. 2025 H1 Key Achievements - User Growth: Reached 55 million registered users globally, solidifying our position as the #1 social platform in Web3. - Ecosystem Expansion: Partnered with over 500 organizations to drive innovation across the Web3 landscape. - Social Media Presence: Grew our TikTok user base to 1 million, enhancing engagement with broader audiences. - AI Integration: The AI Growth Agent (AGA) now supports 100,000+ social users and influencers, streamlining growth strategies for creators and startups. - Onchain Leadership: Maintained the #1 ranking in ETH ecosystem for $UXLINK and $UXUY holders, reflecting strong community trust. - Financial Performance: Achieved 12 consecutive months of profit growth and established strategic reserves of $BTC and $UXLINK to ensure long-term stability. - PayFi Ecosystem: Accelerated adoption of $UXLINK in daily transactions, with FujiCard undergoing public testing in over 10 countries. - Investment Milestone: Welcomed new strategic and long-term investors, reinforcing confidence in our vision for AI-powered Web3 infrastructure. Season 4 Airdrop Event: Reward Categories The Season 4 Airdrop is designed to recognize contributors across the following categories: 1. Influencer Starlink X influencers who drive adoption of AI Growth Agent(AGA) and create content promoting #UXLINK Season 4 & AGA. 2. PayFi Early Adopters Participants in the FujiCard public test (launching in Korea). 3. Social Club Card Phase 2 Users in Japan, Korea, Indonesia, and Vietnam are eligible for Phase 2 access to the Social Club Card. Partnership Task Achievers 4. Top yappers on the UXLINK Kaito Leaderboard and Kaito eco qualified users. How to Participate The Season 4 official website is now live at https://dapp.uxlink.io/season4. Visit to explore reward details, join ongoing initiatives, and contribute to building the UXLINK AI-powered Web3 Social Platform & Infrastructure. For questions or updates, follow us on X or join official Telegram groups and stay tuned for further announcements. #UXLINKSeason4#Airdrops#AGA Sincerely, The UXLINK Community

UXLINK

@uxlink_community · Post #514 · 10.06.2025 г., 07:13

Excited to partner with @PublicAI_ to innovate in AI and blockchain!🤝 PublicAI leverages 800k verified contributors for premium AI training data. Backed by @solana and @NEARProtocol Foundation & Stanford Blockchain Accelerator, secured $11M business revenue. #UXLINK AI Growth Agent will elevate AI training data quality together. 🚀 #AIAgent#PublicAI#AGA