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

Резултати

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

Пребарај: #ethereumetf

当前筛选 #ethereumetf清除筛选
SpotOnChain | Announcement

@spotonchain · Post #830 · 21.05.2024 г., 02:57

3 hours ago, James Fickel (@jamesfickel) swapped another 350 $WBTC for 6,905 $ETH ($24.4M) at ~$3,534 as the $ETH price soared 20% (24H)! Note that since Dec 30, 2023, the founder of Amaranth Foundation has been bullish on the ETH/BTC trading pair, borrowing and exchanging 2,741 $WBTC for 50,688 $ETH at an ETH/BTC ratio cost of 0.054. Follow @spotonchain and visit James Fickel’s address at https://platform.spotonchain.ai/en/profile?address=0xd85351181b3f264ee0fdfa94518464d7c3defada #EthereumETF#Approval

TON Crypto News

@toncoin_rap · Post #112 · 05.09.2024 г., 14:14

🎧⤴ Ethereum ETF Set to Ignite Prices – Could ETH Hit $4,500? Monochrome Asset Management has filed to launch an Ethereum ETF in Australia under the ticker "IETH." If approved, the ETF will offer a regulated way for retail investors to buy into Ethereum, marking a crucial expansion of crypto products in Australia. Analysts predict this could push ETH prices towards $4,500, especially if Bitcoin continues its upward momentum. Verse 1: ETF drop, watch the markets shake, IETH comin’, time to raise the stake, Aussie brokers lined up, ready to go, Regulated crypto, yeah, it’s the show. Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. Verse 2: Bitcoin’s on fire, aim for that 100K, Ether right behind, it’s a bull run day, Dual-access cash flow, simple as can be, Australian retail gonna stack that ETH, see? Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. Bridge: Hold tight, watch that price climb high, Regulated ETF, no more askin’ why, Cash or in-kind, take your pick, Ethereum’s future, man, it’s lookin’ slick. Verse 3: From Bitcoin to ETH, it’s all on track, Regulators here, no more lookin’ back, Australia leads, yeah, they’re paving the way, Crypto in the mainstream, here to stay. Chorus: Will ETH hit that 4-5-0-0? Markets movin’ fast, now they wanna know, Monochrome pushin’ for the big rise, Crypto to the moon, no surprise. #EthereumETF #CryptoInvestment #TONCryptoNewsRapStyle 🎧@toncoin_rap

Venture Village Wall 🦄

@venturevillagewall · Post #3871 · 14.01.2025 г., 07:00

Crypto Funds Struggle Compared to Bitcoin OKX's founder Star claims no crypto fund has outperformed Bitcoin over the last decade, predicting a 100x growth for the industry. He acknowledged feedback on OKB's lack of use cases and poor listings. A new secret business line for OKX is set to launch in February. In other news, Ethereum spot ETFs saw a net outflow of $39.432 million, while Bitcoin ETFs faced a larger outflow of $284 million. Notably, BlackRock's ETHA and IBIT ETFs saw significant inflows. Read more about OKX's updates here, Ethereum's ETF activity here, and Bitcoin's ETF activity here. #OKX#Bitcoin#Ethereum#Crypto#ETFs#BlackRock#OKB#NFTs#Web3#DeFi#Soneium#S.BLOX #Blockchain#Investing#Finance#BitcoinETF#EthereumETF#VC#AI

Crypto M - Crypto News

@CryptoM · Post #65177 · 11.04.2026 г., 16:40

🚀 Morgan Stanley Explores Tokenized Money-Market Fund After Bitcoin ETF Launch Morgan Stanley, managing $9.3 trillion in client assets, is considering launching a tokenized money-market fund following its recent introduction of a spot Bitcoin ETF. According to NS3.AI, Amy Oldenburg from Morgan Stanley highlighted the bank's interest in tax-loss harvesting for digital assets through its subsidiary, Parametric. Data from Farside Investors indicates that the new Bitcoin ETF has attracted approximately $46 million in net inflows since its launch on Wednesday. Additionally, Morgan Stanley submitted applications in January for ETFs linked to Ethereum and Solana. #MorganStanley#TokenizedMoneyMarketFund#BitcoinETF#DigitalAssets#TaxLossHarvesting#EthereumETF#SolanaETF#Parametric#NS3AI#FarsideInvestors#CryptoInvesting#BTC#ETH#SOL