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

Резултати

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

Пребарај: #validation

当前筛选 #validation清除筛选
EdgeMarket.AI 📣

@edgemarketai · Post #8121 · 22.04.2026 г., 08:31

🔥 NEW MARKET LIVE Atlético Madrid vs Arsenal Different systems. One outcome. 👉https://edgemarket.ai/bnb/football/who-will-win-arsenal-or-atltico-madrid/statistics/69e5ef7bdcd75d8e46236096 AI signal is live. Validate it using BETON. Liquidity flows through $SIGNAL. Drop your pick 👇 ⚽ Atlético ⚽ Arsenal #EdgeMarket#Football#Crypto#AI#Validation#SIGNAL

EdgeMarket.AI 📣

@edgemarketai · Post #8125 · 22.04.2026 г., 18:04

🚨 EdgeMarket Validation is LIVE This is where truth gets decided. Every event on EdgeMarket doesn’t end with AI… It gets verified by the community. Now it’s your turn. 🧠 AI creates the market 👥 You validate the outcome 🏆 Truth earns BETON +50 BETON available for accurate validation Points automatically added to your Telegram ID balance in the EdgeMarket BETON Leaderboard This is not guessing. This is proof. If you’re early, you understand: Validation = Power Join the validation layer now 👇 Be part of the system that defines what is true. #EdgeMarket#BETON#Validation#AIOracle#Web3#TruthEconomy

Venture Village Wall 🦄

@venturevillagewall · Post #4049 · 01.02.2025 г., 22:00

Telegram Takes Over Blockchain Control Telegram is ramping up its control over the TON blockchain by increasing the number of million-TON validators it operates. The minimum amount required to participate in validation has risen from 414K to 500K TON since December. This consolidation suggests a shift towards centralized management. Telegram has added 25 new validators in January, boosting its share of validators to over 66%. This move may simplify blockchain upgrades but raises concerns over decentralization. Telegram appears to be monetizing TON more directly, potentially selling it at discounts while maintaining income from accumulated TON investments. #TON#Telegram#Blockchain#Crypto#Validation#Decentralization#Investing#DigitalCurrency#Transparency#Ecosystem#VC#Finance#Investment#Tokens#Cryptocurrency#Web3#Technology#Governance#Markets#Assets

EdgeMarket.AI 📣

@edgemarketai · Post #8086 · 31.03.2026 г., 11:54

The next layer of EdgeMarket is live. We’re introducing community validation for real world events feeding verified truth directly into AI systems. Every validation strengthens the network. Every correct signal earns rewards. ⚡ Validate events 🧠. Train AI with real data 💰 Earn $BET This is how decentralised intelligence is built. Signal Truth. Earn $BET Click Here ⬇️ To Start https://edgemarket.ai/bnb/validate-results #EdgeMarket#AI#Web3#Crypto#BET #Airdrop#EarnCrypto#SignalTruth#Validation #Decentralization#AITraining#Blockchain #CommunityDriven#OnChain#DePIN