@digitalgentop · Post #41 · 21.05.2024 г., 21:22
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
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
Пребарај: #cryptoenthusiast
@digitalgentop · Post #41 · 21.05.2024 г., 21:22
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #11 · 21.05.2024 г., 17:43
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #241 · 06.06.2024 г., 08:02
⚡️Main news: 🔗Wallet on Telegram enforces new KYC rules, switches provider 🟢 PEPE whale up nearly $5M on investment within a month 💵Next $1 trillion company will be DePIN 📌 Alex Labs rolls out post-exploit recovery plan 💰Bitcoin in 42-day ‘boredom zone’ — traders debate next move #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #240 · 06.06.2024 г., 02:57
❗️Donald Trump found guilty in landmark New York hush-money case 🇺🇸 #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #230 · 04.06.2024 г., 03:02
💵Gemini returns $2.18B to Earn users following 18-month withdrawal freeze ⌛ #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #224 · 02.06.2024 г., 16:01
☄️ZKasino gives investors 72-hour window to get back deposited ETH 💵ZKasino denied it tried to make off with $33 million of investor funds in April and has now opened up a short refund window. #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #213 · 31.05.2024 г., 16:01
🔖Shiba Inu Super Diamond Trader Liquidates Holdings, Followed By A Secret Message 📣 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet #Cryptoeducation #Bitcoinnews