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

Резултати

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

Пребарај: #ns3ai

当前筛选 #ns3ai清除筛选
Crypto M - Crypto News

@CryptoM · Post #64860 · 10.04.2026 г., 05:07

🚀 XRP Rises to $1.35 Amid Strong Trading Volume XRP experienced a price increase, reaching $1.35 after surpassing the $1.34 mark on strong trading volume. According to NS3.AI, the upward movement paused below $1.36, and XRP continues to be part of a broader downtrend. There is no clear catalyst identified for this recovery. #XRP#cryptocurrency#tradingvolume#priceincrease#downtrend#NS3AI

Crypto M - Crypto News

@CryptoM · Post #65416 · 13.04.2026 г., 06:17

🚀 Bitcoin Needs to Surpass $76,000 to Reverse Downtrend Bitcoin's recent performance indicates a need to break above $76,000 with significant trading volume to counteract its six-month downtrend. According to NS3.AI, the cryptocurrency rebounded from approximately $60,000 in early February, climbing above $75,000 before encountering resistance at its downtrend line. #Bitcoin#cryptocurrency#downtrend#NS3AI#tradingvolume#marketresistance#cryptomarket#BTC

Crypto M - Crypto News

@CryptoM · Post #64888 · 10.04.2026 г., 07:09

🚀 XRP's Quantum Attack Vulnerability Lower Compared to Bitcoin According to NS3.AI, an analysis reveals that approximately 0.03% of XRP's supply has exposed public keys, contrasting with 11%–37% of Bitcoin's supply. This indicates that XRP is relatively less susceptible to quantum attacks. The XRP Ledger offers the ability to replace an account's signing key without necessitating fund transfers, thereby minimizing exposure during security updates. #XRP#QuantumAttack#CryptocurrencySecurity#Bitcoin#Blockchain#NS3AI#XRPLedger#BTC

Crypto M - Crypto News

@CryptoM · Post #64526 · 09.04.2026 г., 06:14

🚀 Polymarket Traders' Earnings: Only 0.015% Achieve $5,000 Monthly Crypto analyst Andrey Sergeenkov's recent analysis reveals that a mere 0.015% of Polymarket traders managed to earn at least $5,000 monthly for four consecutive months. According to NS3.AI, the study examined trading data spanning from April 2024 to April 1, 2026, highlighting the challenges faced by traders in achieving consistent profitability on the platform. #Polymarket#Crypto#Trading#Earnings#Profitability#Analysis#NS3AI

Crypto M - Crypto News

@CryptoM · Post #64763 · 09.04.2026 г., 20:15

🚀 Ether Rises Over 6% as Undervaluation Signals Potential Retest of Higher Levels Ether experienced a 6.33% increase, surpassing $2,150, with indicators suggesting a potential retest of the $2,400–$2,500 range. According to NS3.AI, the Capriole Macro Index Oscillator registered a reading of -2.42, indicating that Ether is in a rare undervaluation zone. This development has sparked interest among investors, who are closely monitoring the cryptocurrency for further movements. #Ether#Crypto#Ethereum#Undervaluation#PriceIncrease#Investment#CryptoTrading#NS3AI#ETH

Crypto M - Crypto News

@CryptoM · Post #64801 · 10.04.2026 г., 00:36

🚀 U.S. President Trump Criticizes Iran's Handling of Strait of Hormuz Oil Passage U.S. President Donald Trump has expressed dissatisfaction with Iran's management of oil transit through the Strait of Hormuz. According to NS3.AI, Trump stated that Iran's actions are not in line with an agreement he claims was established. The Strait of Hormuz is a critical chokepoint for global oil shipments, and any disruptions can have significant implications for international markets. #Trump#Iran#StraitOfHormuz#OilTransit#GlobalOil#InternationalMarkets#NS3AI

Crypto M - Crypto News

@CryptoM · Post #65098 · 11.04.2026 г., 00:52

🚀 Altcoin Season Index Remains Steady at 35 CoinMarketCap's Altcoin Season Index has maintained its position at 35, unchanged from the previous day. According to NS3.AI, this index measures the performance of leading cryptocurrencies compared to Bitcoin over the past 90 days. #Altcoin#Crypto#Bitcoin#CoinMarketCap#Cryptocurrency#AltcoinSeason#NS3AI#CryptoIndex#CryptoNews#BTC

Crypto M - Crypto News

@CryptoM · Post #64978 · 10.04.2026 г., 12:43

🚀 Hezbollah Vows to Persist in Resistance Efforts Hezbollah has declared its commitment to continue its resistance until the very end. According to NS3.AI, Walter Bloomberg reported that the pro-Iranian armed group made this statement, emphasizing their unwavering stance. #Hezbollah#Resistance#Iran#ArmedGroup#WalterBloomberg#NS3AI

Crypto M - Crypto News

@CryptoM · Post #64469 · 09.04.2026 г., 01:45

🚀 Altcoin Season Index Remains Steady at 34 CoinMarketCap's Altcoin Season Index has remained at 34, showing no change from the previous day. According to NS3.AI, this index evaluates the 90-day performance of the top 100 cryptocurrencies, excluding stablecoins and wrapped tokens, in comparison to Bitcoin. #AltcoinSeason#Cryptocurrency#CryptoMarket#Bitcoin#Altcoins#CoinMarketCap#CryptoIndex#NS3AI#BTC

Crypto M - Crypto News

@CryptoM · Post #65113 · 11.04.2026 г., 03:14

🚀 Crypto Futures Experience $103 Million in Liquidations Over 24 Hours Crypto futures markets have experienced significant activity, with approximately $103 million in liquidations occurring in the past 24 hours. According to NS3.AI, this development highlights the ongoing volatility within the cryptocurrency sector. The liquidations reflect the dynamic nature of crypto trading, where rapid price movements can lead to substantial financial impacts for traders. This event underscores the importance of risk management strategies in navigating the unpredictable crypto landscape. #CryptoFutures#Liquidations#CryptoVolatility#Cryptocurrency#RiskManagement#CryptoTrading#NS3AI

123•••78
ПретходнаСтраница 1 од 8Следна