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

Резултати

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

Пребарај: #cryptotrading

当前筛选 #cryptotrading清除筛选

Live Crypto News Today — Bitcoin, Ethereum & Altcoins (February 16, 2026) https://www.fxpremiere.com/live-crypto-news-today-bitcoin-ethereum-altcoins-february-16-2026/#crypto#cryptocurrency#cryptonews#cryptotrading FxPremiere Telegram Alerts

🟥 🟥 🟥GOYIM COIN – SOLANA GEM ALERT 🚀 📈 Strong Pump Ongoing | Heavy Volume Flow 🚀 Early buyers are already winning — next leg loading… 🔹 Chain: Solana 📈 Live on DexScreener: https://dexscreener.com/solana/ASCSDmpkbXDNRiPRKGAPiLU4Kukc6P8vgNBtNhGw3Hnf ✔️ Contract: 9S8edqWxoWz5LYLnxWUmWBJnePg35WfdYQp7HQkUpump 🐋Strong buying pressure • Healthy volume inflow • Meme narrative + active community 🚀 Official Links: 🐦Twitter (X): https://x.com/goyimcoinsol 🌎 Website: https://goyim.life/ #Solana#LowCap#CryptoTrading

Propheta Indicator Signals

@propheta_indicator · Post #23074 · 19.11.2025 г., 17:57

👆 Propheta living up to its name yet again 🔮 Reached 9th TP in the VIP PRO channel! That's why we call it the "Money Printer" 💴💷💵ACCESS TO MANUAL TRADING for 70usdt/month 👉 Looking at those reports and can't believe what you're seing? Go to our reports channel and audit us! @propheta_reports Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #cryptotrading#autotrading#cryptomarket

Propheta Indicator Signals

@propheta_indicator · Post #22867 · 07.10.2025 г., 12:13

Reached 9th TP in the VIP HTL channel! Easy $207 with a 5% entry and a $1000 deposit! VIPs getting filthy rich by the day ☺️🤑🤑ACCESS TO MANUAL TRADING for 70usdt/month 👉 Join us and earn big! Start here: t.me/ProphetaAdmin_bot Register and get bonuses up to $6,000 Binance | OKX | ByBit👈🏻click! #cryptobot#cryptotrading#eth

123•••10•••202122
ПретходнаСтраница 1 од 22Следна