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

Пребарај: #cryptoeducation

当前筛选 #cryptoeducation清除筛选
SLEX NEWS

@slex_io · Post #59 · 24.06.2023 г., 08:10

📚 Slex Empowering Education for Crypto Enthusiasts! 🎓In a rapidly changing crypto industry, it is essential to constantly gain new knowledge. Slex platform will equip users with the knowledge they need to thrive. 📖 Comprehensive Resources: We provide an extensive library of in-depth guides, webinars, courses, and resources for understanding the market better and making informed decisions. 🤝 Community Engagement: We plan to regularly organize workshops, webinars, meetups, and other engaging events to foster a vibrant community of crypto enthusiasts. Stay tuned for more updates as we approach the launch of Slex! Join us on this educational journey and discover the possibilities of the crypto industry. 👉 Join Slex now: slex.io/registration #Slex#CryptoEducation#CryptoEducation Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

DigitalGenie Trading News

@digitalgentop · Post #42 · 21.05.2024 г., 21:45

☄️Tether has exceeded Germany 🇩🇪 in terms of U.S. Treasury holdings, now sitting at the 19th position globally with $91 billion in bonds as of March 31st. Paul Ryan, former Speaker of the House, recommends regulating stablecoins given Tether's noteworthy influence on the digital dollar.💵🕯 #Cryptoeducation #Bitcoinnews #Cryptolover

DigitalGenie Trading News

@digitalgentop · Post #236 · 05.06.2024 г., 08:03

🕯Price analysis 5/30: BTC, ETH, BNB, SOL, XRP, DOGE, TON, SHIB, ADA, AVAX 💰Bitcoin remains in sideways price action, but a positive sign is that the investors have continued to buy the spot Bitcoin exchange-traded funds. 💰Farside Investors data shows net positive inflows into the ETFs for the past 11 days. #Cryptoeducation #Bitcoinnews #Cryptolover #Cryptosignals

Most people lose in crypto not because of the market, but because of emotions. The solution is simple: accumulate BTC in small satoshi amounts regularly. You can start with $100 today. This is not financial advice. @saylor@APompliano@aantonop #Bitcoin#BTC#Sats#HODL#CryptoEducation#MyMining

Crypto M - Crypto News

@CryptoM · Post #65375 · 13.04.2026 г., 03:00

🚀 Binance Launches Word of the Day Game with BNB Rewards According to the announcement from Binance, the platform has introduced a new Word of the Day (WOTD) game, themed "Team Up with Binance." This educational initiative aims to enhance users' crypto vocabulary while keeping them informed about the latest market trends. The activity period is set from 2026-04-13 00:00 (UTC) to 2026-04-19 23:59 (UTC). Participants can engage in up to two WOTD games daily, testing their knowledge on the specified topic. Users who correctly answer at least three questions during the activity period will qualify to share a 15 BNB reward pool. The distribution of rewards will be proportional to the number of correct answers each user provides, with a maximum cap of 0.01 BNB per user. Rewards are scheduled to be distributed to winners' Spot Accounts by 2026-05-03 23:59 (UTC). To access a second WOTD game, users must click the "Get A New WOTD" button after completing the first game. Sharing the featured link on social media and having it clicked by a logged-in user will unlock the second game. Additionally, new users registering with the "WOTD" referral code during the activity period will receive a 10% discount on Spot trading fees. They may also earn additional welcome rewards by completing tasks in the Rewards Hub within 14 days of registration. Binance reserves the right to modify or cancel the promotion without prior notice and may update the list of eligible countries or regions. Participation is subject to Binance's terms and conditions, and users must complete account verification to be eligible for rewards. The platform emphasizes that any fraudulent activity or violation of terms may lead to disqualification from the promotion. #Binance#WordOfTheDay#WOTD#BNB#CryptoEducation#CryptoRewards#CryptoGame#SpotTrading#ReferralCode#RewardsHub#Blockchain#CryptoLearning#CryptoCommunity