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

Резултати

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

Пребарај: #build

当前筛选 #build清除筛选
欧易OKX公告

@okxchinese · Post #2324 · 20.01.2025 г., 10:05

OKX in 2024 ·安全透明、颠覆传统,持续创新…… ·打造最强交易引擎 ·最聚合的多链钱包 未来有“X”种可能在迎接我们 #Build Forward #BuildWithOKX 📍🌷欢迎关注欧意OKX中文公告频道:https://t.me/okxchinese

Илья AGI TV 🤖

@ilia_plasma · Post #330 · 20.11.2023 г., 05:42

😘 Джордан - #AI продакт из Фигмы, вдохновившись примера по code и image генерации, которые я выкладывал выше, решил проинтегрировать их в #Figma. Ждем продакшена) А пока можно просто добавить себе этот плагин вручную, инструкция🤖 В #FigJam с командой креативите над механникой, запускаете #Build и сайт/апка готовы)

SIGNAL

@finsignal · Post #3760 · 11.12.2024 г., 05:43

I haven't posted cool projects for a long time. #Notcoin has officially launched the launcher✉️ All holders of $DOGS, $TON, $NOT are paid steep bonuses in the form of a $BUILD token — this is the @community_bot token, which supports the development of open source tools for millions of #Telegram users. Some options for using the token: 🟢 Advanced Business case capabilities $BUILD will be used as the main token. The income will be directed to $BUILD to support grants and ecosystem development. 🟢 Grants to encourage the development of open source tools. Come in and get your bonuses. ⏪GET $BUILD⏩ #build#not#ton

TAPswap Announcement

@TapSwap · Post #170 · 10.06.2021 г., 11:37

Update ✅ TAPS is now listed on the #BUIDL token list of ApeSwap ! We're excited to graduate soon from the ApeSwap #Build program and forge new partnership and grow TAPSWAP community. Thanks for the support Fam! 🚀🚀 #BUIDL#TAPSWAP#APESWAP https://dex.apeswap.finance/#/swap

SpinnerCoin

@spinnercoin · Post #53 · 04.06.2024 г., 16:17

Less than 24 hours left until you can start minting your Spinners into NFTs on the TON! 🎉 👮‍♂ Here’s what you need to know: • Eligibility: Mint your Spinner starting at Level 12, anytime between Levels 12 to 20. • Commission: 0.07 TON, covering blockchain fees and infrastructure costs. 🔁 How to Mint? Head to the NFT Overview section on your Spinner screen, press the “Convert to NFT” button, and confirm the payment. Remember, minting is optional. Your Spinner remains free, and you can keep earning SPN without turning it into an NFT. However, if you choose to mint, your Spinner will become a full NFT within 24 hours. Stay tuned and get ready to mint! 🌟 #SpinnerCoin#NFT#TONBlockchain#Build

Venture Village Wall 🦄

@venturevillagewall · Post #3782 · 03.01.2025 г., 16:00

Lost Dogs Listing Date Announced 📅 The anticipated listing for Lost Dogs is set for January 14, 2025. Key details: - Total token supply: 18 billion - No vesting: All tokens unlocked immediately - Market cap: $100 million; Token price: $0.0055 🗓️ Claim for BUILD scheduled for January 7, potentially introducing PX farming via WOOF + BUILD in EARN. For more updates, join the DOGS community! #Crypto#LostDogs#VC#Blockchain#Farming#TokenListing #Crypto#VC#TokenListing#LostDogs#Blockchain#Farming#BUILD#Claim#CryptoNews#MarketCap#Investment#DecentralizedFinance#DeFi#Tokens#PYX#EARN#WOOF