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

Резултати

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

Пребарај: #pool

当前筛选 #pool清除筛选
BLC Market - mini-app BulCoin

@bulcoin_blc · Post #219 · 21.11.2025 г., 18:55

Why it's profitable to replenish the BulCoin pool NOW The BulCoin liquidity pool is currently small — and this is the best time to join. 🔥 Why? • Few LPs → fees are divided among fewer people. • Every USDT ⇄ BLC exchange gives a large percentage of the commission, because liquidity is low. • Tasks are already underway in the ecosystem, transfers, trading — these are constant swaps that bring income to LPs. 🚀 Early LPs are always in the plus When MAU increases (according to the model — up to 10k–100k users), the pool will become larger, and APR will drop. Those who entered earlier will lock in maximum percentages. 🌊 How to replenish? DeDust → USDT–BLC pool → deposit USDT and BLC → receive LP tokens. #pool#liquidity FAQ | BUY

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #228 · 29.12.2025 г., 11:35

Our recommendation How to earn on pool-liquidity if you only have BulCoin? 1. Go to App.Tonco.io in the pools section and enter BLC in the search. 2. Click on Create position 3. Enter the minimum price above the market, and the maximum no less than $0.11. This will be the minimum price at the start of privatization in Chuvashia for BulCoin 4. Enter the amount and create 5. Now investors will buy BLC from you, and you will get the maximum profit from trading! #pool#tonco#liquidity#BLC FAQ | BUY

🎉Catizen x Zircuit Launchpool is Live We're excited to announced launch Zircuit (ZRC) as the inaugural project on the Catizen Launchpool!🎆🪙 How to Earn ZRC? 💰 Stake CATI and Cats to Earn ZRC: Zircuit is an AI-secured, Zero-Knowledge Layer 2 solution, fully #EVM-compatible, and supported by #BinanceLabs, #Pantera, #DragonflyCapital, among others. With $1.8B in TVL and a new liquidity hub, early adopters are in for a rewarding journey! Launchpool Details: • Period: 2024-10-28 00:00 (UTC) to 2024-11-04 00:00 (UTC) • Token Name: $ZRC • Total Supply: 10,000,000,000 ZRC • Token Rewards: ≈$1,500,000 in ZRC • Launchpool Allocation: 8,333,333 ZRC Pool Information 🪙CATI Pool: • Reward Proportion: 85% • Reward Amount: $1,275,000 in ZRC • Stake Range: 1 to 2000 CATI • Settlement: Every hour based on staked CATI share 😺Cat Pool: • Reward Proportion: 15% • Reward Amount: $225,000 in ZRC • Eligibility: Cats above level 300 only • Settlement: Hourly, with levels converted to USD for calculations 🐾Don’t miss out on this incredible chance to grow your rewards with Zircuit! This is just the beginning of their ambitious plan to enhance CATI token value✨ #TON#CATI#Pool#Zircuit