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 слични објави

Пребарај: #megabase

当前筛选 #megabase清除筛选
Crypto Fight || News 🚀

@cryptofightnews · Post #3162 · 16.12.2025 г., 15:37

🔥MegaBase ($MGBS) 🚀The Future of Community-Driven Wealth is Here — MegaBase ($MGBS) is on a bold mission to build real value and empower collective success. We’re not just another crypto project — we’re creating a sustainable ecosystem where the community truly wins. 📨Every $MGBS transaction fuels more than just our token growth, it creates a global impact. 🚨Small percentage of the transaction fees goes to charitable causes chosen by the community.✅ ✅Earn rewards ✅Auto-burn ✅Milestone Giveaway ✅Auto Liquidity ✅Progressive Protection Protocol ✅Ecosystem engineered for Continous Development 📌Ca: 0x481ef7Ff561d9a2a892553ba930A6365f911E0bb 🔥Dex: https://dexscreener.com/base/0xe348135151c3bFF2bcaB2a9F7A571e7214edc6A8 ⬇️ Social links 🔥 Telegram: https://t.me/+IQ696SfodDQwOTEx 🔥 Website: https://megabasecoin.com 🔥 X (Twitter): https://x.com/megabasecoin 🍏🍏🍏🍏 🚀AMA Today with Crypto Panda on Binance Space 🐼🎙 🔜 2:00 PM ET 🎁 Active Launch Giveaway running till 31st December 2025! Join our Telegram for full details or check our X page to participate. #MegaBase#MGBS#CryptoPresale#DeFi#Web3#Blockchain#CommunityWealth#Crypto#Base#Coinbase#Bullrun#Bitcoin#Bullish#Ethereum#DEX#C

⚪️ 🔤 🔤 🔤 🔤 MEGABASE COIN ($MGBS) The Future of Community-Driven Wealth Starts Now 💰Contract Address: 0x481ef7Ff561d9a2a892553ba930A6365f911E0bb MegaBase ($MGBS) is more than a token — it’s a long-term vision built on transparency, innovation, and community empowerment. We are designing a sustainable ecosystem where growth is shared, value is real, and the community always comes first. 🌍✨ 💥 Why MegaBase? Every $MGBS transaction contributes to something bigger than price action — it helps fuel ecosystem growth and real-world impact. 🔥 Core Features 💰 Earn Rewards 🔥 Auto-Burn Mechanism 🎁 Milestone Giveaways 💧 Auto Liquidity 🛡 Progressive Protection Protocol 🔄 Ecosystem Engineered for Continuous Development ❤️ Charity Contributions Selected by the Community A small percentage of each transaction supports charitable causes, ensuring MegaBase creates global impact alongside financial growth. 💎 Community members will have the opportunity to earn rewards as MegaBase reaches key milestones. This giveaway is our way of saying thank you for believing early and building with us. 🔗 Join the MegaBase Movement ✅Telegram: https://t.me/+IQ696SfodDQwOTEx Twitter: www.x.com/megabasecoin ✅Website: https://megabasecoin.com Let’s build together. Let’s grow together. Let’s succeed together. 💪 #MegaBase#MGBS#Cryptolaunch#LaunchGiveaway#DeFi#Web3#Blockchain#CommunityWealth#Crypto#Base#Coinbase#Bullrun#Bitcoin#Ethereum#DEX#CEX#Bullish