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

Пребарај: #wyckoff

当前筛选 #wyckoff清除筛选
SIGNAL

@finsignal · Post #3628 · 22.10.2024 г., 09:27

🗓 A few notes about the market from analysts: 🟠 .Bitcoin retesting is in full swing right now. BTC is penetrating deeper into the old resistance area (red) to turn it into new support (green). → May drop to the top of the channel (black). → Successful retesting here -> resumption of growth. 🟠 .Bitcoin #Wyckoff on October 21st. 🟠 .Bitcoin vs Gold on October 21st. 🟠 .It is no coincidence that the BTC/IWM/QQQ ratio rejects a wedge breakout, while bitcoin shows a downward trend. The wedge should determine the direction by November 11th. 📝 $BTC price: 68,000 USD - the price is above all key levels of the STH Realized Price, which means that short-term investors, even those who bought BTC 155 days ago, are in profit. The key support levels are the values of the STH Realized Price: • 1H-1M: 62,638 USD • 1M-3M: 60,839 USD • 3M-6M: 64,144 USD

Hashtags

Venture Village Wall 🦄

@venturevillagewall · Post #3989 · 26.01.2025 г., 10:00

Bitcoin Nears Last Growth Phase Bitcoin approaches final growth stage per the Wyckoff method, analyst Ali Martinez notes a potential peak at $200,000. More details on the Wyckoff method and trading here: applied trading. Paradigm calls for Ethereum to focus on scaling and aims for at least one major update yearly without changing gas limits. #Bitcoin#Wyckoff#Crypto#Ethereum#Paradigm#DeFi#VC