TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

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

Пребарај: #supplyshock

当前筛选 #supplyshock清除筛选
以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1565 · 14.12.2025 г., 13:58

🪙Bitmine has emerged as one of the largest corporate ETH holders. 🚨#最新数据:Bitmine Immersion Tech 目前持有 3.86M 枚 ETH,占全网流通供应量的 3.2%,总价值约 $12B。 #Markets#解析#比特币 #Ethereum#OnChain#Crypto —————— 📊 关键指标: • 公司市值:$14.84B • ETH 储备占比:3.2% of supply • 可用现金:$1B • EPS 增长:+189% 🧠 市场影响: 当 ETH 持续被锁入企业资产负债表, 👉 可流通供给下降 👉 中长期供需结构趋紧 👉 价格波动对增量资金更敏感 #ETH#Treasury#SupplyShock 👇Tip👇讚 或點擊進行💎資源搜索👇

Crypto M - Crypto News

@CryptoM · Post #64792 · 10.04.2026 г., 00:06

🚀 Global Economic Concerns Amid Middle East Tensions According to Jin10, a report by China International Capital Corporation (CICC) highlights that since March, concerns over conflicts involving the U.S., Israel, and Iran, along with potential blockages in the Strait of Hormuz, have triggered a market-wide risk aversion. This has led to declines in most asset classes, excluding oil and agricultural products, raising fears of stagflation. CICC acknowledges the undeniable impact of supply shocks, which could potentially slow overall economic growth. However, if the Strait of Hormuz gradually reopens, the geopolitical risks might exacerbate the K-shaped economic divergence, leading to increased investment activity while cooling consumption and employment. In the context of accelerated AI substitution and an inherently cooling labor market, inflation in resource and capital goods is unlikely to create a 'wage-inflation' spiral. From this perspective, CICC suggests that the mainstream narrative of global stagflation might be overstated. The report reiterates the view held since the beginning of the year that, amid an intensified K-shaped economy, liquidity recovery from its trough, and sustained fiscal expansion, the global nominal economic cycle driven by investment is expected to resume its upward trend. This will likely lead to continued rebalancing of global funds across sectors, asset classes, and regions, benefiting a range of physical assets and emerging markets. #GlobalEconomy#MiddleEastTensions#GeopoliticalRisk#Stagflation#SupplyShock#EconomicGrowth#KShapedRecovery#Investment#AIImpact#LaborMarket#Inflation#LiquidityRecovery#FiscalExpansion#EmergingMarkets#AssetAllocation