@bizfeed · Post #332460 · 14.08.2025 г., 22:39
DL News | News Feed | ꘜ Crypto exchanges should block users from cashing out tokens with low ‘compliance scores,’ BIS researchers say ~ ₿izFeed#⃣:#cryptonews
Hashtags
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
Пребарај: #cryptonews
@bizfeed · Post #332460 · 14.08.2025 г., 22:39
DL News | News Feed | ꘜ Crypto exchanges should block users from cashing out tokens with low ‘compliance scores,’ BIS researchers say ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332448 · 14.08.2025 г., 21:18
The Block | 𝕏 David Bailey’s Nakamoto and KindlyMD close merger for Bitcoin treasury ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332447 · 14.08.2025 г., 21:14
unfolded. | ꘜ Long-term holders still command ~85% of all Bitcoin—near a historic high—while net outflows continue to drain exchange inventories, creating an increasingly illiquid float that can magnify price moves — link | AI comment ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332446 · 14.08.2025 г., 20:39
Blockworks | ꘜ Charting the course 📊 https://blockworks.co/news/the-state-of-solana-charts ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332445 · 14.08.2025 г., 20:39
The Block | 𝕏 US Justice Department unseals warrant to seize millions in crypto from alleged ransomeware operator ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332434 · 14.08.2025 г., 20:04
The Block | 𝕏 Bitcoin miner TeraWulf shares jump 50% after Google secures 8% stake as part of $3.7 billion 10-year AI compute deal ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332432 · 14.08.2025 г., 19:44
Blockworks | ꘜ To cut or not to cut...that is the question https://blockworks.co/news/outlining-fed-rate-cut-scenarios ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332429 · 14.08.2025 г., 19:14
The Block | 𝕏 Bitcoin Layer 2 Bitlayer raises additional $5 million in oversubscribed public token rounds on decentralized crowdfunding platforms ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332417 · 14.08.2025 г., 18:54
Blockworks | ꘜ Circle one: - Rollup - L1 https://blockworks.co/news/circle-l1-impact-ethereum ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332416 · 14.08.2025 г., 18:54
DL News | News Feed | ꘜ The US ‘won’t buy’ more Bitcoin, says Treasury Secretary ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332415 · 14.08.2025 г., 18:54
unfolded. | ꘜ Citigroup considers custody and payment services for stablecoins, crypto ETFs — link | AI comment ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332414 · 14.08.2025 г., 18:33
The Block | 𝕏 The Daily: Bessent says govt won't buy bitcoin for strategic reserve, Ethereum ICO whale sells another $5 million in ETH, and more ~ ₿izFeed#⃣:#cryptonews
Hashtags