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

Резултати

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

Пребарај: #gram

当前筛选 #gram清除筛选
Red Coins Club

@redcoinsclub · Post #393 · 01.10.2024 г., 07:50

🔥#GRAM сожгли 50% эмиссии токена 💎 Это стало самым крупным сжиганием в тоне, а также привело к росту в два раза. Немного истории Павел Дуров хотел с помощью TON создать децентрализованную блокчейн-платформу для приложений и быстрых транзакций. Целью было интегрировать криптовалюту GRAM в Telegram, позволяя пользователям совершать платежи прямо в мессенджере. Биржи: 🛒Binance🌐ByBit🌐 OKX ⭐в благодарность за труд ставьте звезду на пост #Airdrop#листинг#gram

senk0n blog

@s0blog · Post #389 · 02.11.2019 г., 09:06

Gram Wallet для Android Вчера ночью на сайте TON появился Gram Wallet для настольных платформ. Вместе с ним был опубликован исходный код приложений, в том числе и для мобильных устройств. Мы собрали кошелек для Android. #Android#gram

senk0n blog

@s0blog · Post #385 · 01.11.2019 г., 11:03

Отправ очка грамов и история транзакций Для получения граммов используйте @test_ton_bot #Gram#Test

Hashtags

MyTonWallet v3.3 update and Gram DNS integration into the wallet 🎁 The year 2025 in the TON blockchain began with a boom in Telegram NFT gifts, and the MTW team responded quickly: #MyTonWallet became the first wallet to provide full visual support for gifts in HD quality with maximum FPS. The wallet logo was also updated, which is especially noticeable when using TON Connect. Details of the update v3.3: 👛Transparent fees – now when exchanging (swap) you can click the “Info” button to find out the exact cost of the transaction and see how much $TON will be returned back. 👛The new "Explore" v2.0 section is an updated version of the "Overview" tab, which is now in a separate panel. The interface has been redesigned: new banners have appeared, and applications are now conveniently grouped into categories. 👛MyTonWallet Pay is a new tool for paying with cryptocurrency in online stores. The function is currently being tested, and its full launch is expected later. If you have your own store and want to integrate MTW Pay, contact 💬Irina@eeraarons. 📺 We have left short videos under this post so that you can clearly evaluate all the innovations. ☺️Bonus: In honor of the anniversary of Gram DNS, Crypto Bot and MyTonWallet unexpectedly added it to their services. #TON#MTW#Gram#Gift

🦅 [ perspective ix ]

@perspectiveix · Post #1178 · 31.03.2018 г., 12:01

​​🦄🦄Telegram is raising $1.7 billion in funding - and they're not even done! #Telegram raised $850 million from 94 investors in March in addition to $850 million it gained in February. That's almost two whole unicorns in the largest #ICO (Initial Coin Offering) to date. The company, founded by self-exiled Russian Pavel Durov, plans to use the ICO proceeds to develop the Telegram Open Network #blockchain, which includes the cryptocurrency #Gram. Interest in the Telegram ICO has recently helped the company surpass the threshold of 200 million monthly active users, “with over 700,000 new users signing up each day.” 🚀@PerspectiveIX 🌀 ⁣http://prs.pctvix.co/TelegramIX

跑跑資訊站 KartInfo

@KartInfoTW · Post #268 · 04.08.2021 г., 10:00

韓服本周更新,跑跑卡丁車 17 周年活動開啓!🎉 每日有 7 次 ShowTime 可以收集奶嘴寶石之外,參加活動完成任務還能抽 LG 筆電、iPad Air! 🔥 更新詳情:https://kinf.cc/Ttnmx ▶️ 追蹤 Google 新聞:https://kinf.cc/gn ▶️ 立即加入 Discord:https://kinf.cc/dc #跑跑卡丁車#KartRider#周年#Anniversary#17周年#奶嘴#寶石#抽獎#巴黎貝甜#파리바게뜨#PARISBAGUETTE#LG#Gram#APPLE#iPadAir#NEXON#CASH#賽車任務#ShowTime#派對#Party#彩虹