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

Резултати

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

Пребарај: #onchaindetection

当前筛选 #onchaindetection清除筛选
Crypto M - Crypto News

@CryptoM · Post #64878 · 10.04.2026 г., 06:15

🚀 Huang Licheng Achieves Profitable Trading Streak Huang Licheng, also known as 'Machi Big Brother,' has maintained a successful trading streak without liquidation for 10 days. According to BlockBeats On-chain Detection, he has completed 13 consecutive profitable trades, earning a profit of $1.14 million over the past week. #HuangLicheng#Trading#CryptoTrading#ProfitStreak#Blockchain#OnChainDetection#CryptoInvesting#MachiBigBrother

Crypto M - Crypto News

@CryptoM · Post #64534 · 09.04.2026 г., 06:35

🚀 BTC Short Position Expanded by Strategy Counterparty On April 9, a significant adjustment was made to a BTC short position by the entity known as 'Strategy Counterparty' (0x94d3). According to BlockBeats On-chain Detection, the position was increased by 81.06 BTC, valued at approximately $5.209 million. The total position size has now reached $75.2048 million, with the average price slightly rising from $69,036.20 to $69,181.40. The liquidation price is set at $79,320.81. Currently, the position is experiencing a floating loss of approximately $1.8229 million, marking a decrease of 96.96%. This makes it the largest BTC short position on the Hyperliquid platform. It is noted that this address previously established a substantial short position against mainstream cryptocurrencies during MicroStrategy's significant BTC acquisitions last December. At that time, the position size peaked at $120 million, making it the largest BTC short on the Hyperliquid platform. #BTC#ShortPosition#StrategyCounterparty#Blockchain#OnChainDetection#Crypto#Hyperliquid#FloatingLoss#BTCShort#MarketAdjustment#Cryptocurrency

Crypto M - Crypto News

@CryptoM · Post #65228 · 12.04.2026 г., 06:13

🚀 Whales Accumulate TRUMP Tokens Ahead of Trump Luncheon On April 12, two significant cryptocurrency holders have been accumulating TRUMP tokens in anticipation of a luncheon with U.S. President Donald Trump. According to BlockBeats On-chain Detection, Whale 8DHkza has withdrawn 850,488 TRUMP tokens from a centralized exchange over the past two days. Meanwhile, Whale 7EtuAt extracted 105,754 TRUMP tokens from another centralized exchange 17 hours ago, bringing their total holdings to 1.13 million TRUMP tokens. #Whales#TRUMPTokens#DonaldTrump#Cryptocurrency#Blockchain#CryptoWhales#Luncheon#OnChainDetection#CentralizedExchange