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

Резултати

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

Пребарај: #ratehike

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

@CryptoM · Post #65417 · 13.04.2026 г., 06:23

🚀 ECB Rate Hike Probability Rises to 50% for April The probability of the European Central Bank (ECB) raising interest rates in April has increased to 50%, according to recent pricing in the money markets. According to Jin10, this marks a significant rise from last Friday when the likelihood was estimated at around 20%. The shift in market expectations reflects growing anticipation of monetary policy adjustments by the ECB. #ECB#RateHike#InterestRates#MonetaryPolicy#MarketExpectations#Eurozone

Crypto M - Crypto News

@CryptoM · Post #64740 · 09.04.2026 г., 17:14

🚀 Federal Reserve's April Rate Hike Probability at 1.6% According to BlockBeats, data from CME's 'FedWatch' indicates a 1.6% probability of a 25 basis point rate hike by the Federal Reserve in April. The likelihood of maintaining the current interest rate stands at 98.4%. #FederalReserve#InterestRates#RateHike#MonetaryPolicy#Economy#Finance#CME#FedWatch

Crypto M - Crypto News

@CryptoM · Post #64951 · 10.04.2026 г., 12:07

🚀 Fed's Daly: Rate Hike Less Likely Than Cut or Hold San Francisco Federal Reserve President Mary Daly stated that the likelihood of an interest rate hike is lower compared to the possibility of a rate cut or maintaining the current rates. According to Jin10, Daly's comments reflect the ongoing assessment of economic conditions and monetary policy adjustments. The Federal Reserve continues to monitor various economic indicators to determine the appropriate course of action for interest rates. Daly's remarks suggest a cautious approach towards monetary policy amid evolving economic dynamics. #FederalReserve#InterestRates#MonetaryPolicy#Economy#USEconomy#RateHike#RateCut#EconomicOutlook

Crypto M - Crypto News

@CryptoM · Post #65314 · 12.04.2026 г., 22:05

🚀 CME Reports Low Probability of Fed Rate Change in April According to Jin10, CME's FedWatch tool indicates a 1.6% probability of a 25 basis point rate hike by the Federal Reserve in April, while the likelihood of maintaining the current rate stands at 98.4%. Looking ahead to June, the probability of a cumulative 25 basis point rate cut has dropped to 0%, with a 98.2% chance of rates remaining unchanged and a 1.8% probability of a cumulative 25 basis point rate hike. #CME#FedRate#FedWatch#RateHike#FederalReserve#InterestRates#RateChange#AprilRate#JuneRate

Crypto M - Crypto News

@CryptoM · Post #64873 · 10.04.2026 г., 06:02

🚀 Societe Generale Strategists Adjust ECB Rate Hike Expectations Societe Generale's interest rate strategists have revised their baseline scenario, according to Jin10. They now anticipate that the European Central Bank (ECB) will implement two 'preventive' rate hikes in June and September, while the economy remains resilient. This adjustment is expected to keep the 10-year German bond yield above 3% throughout 2026, preventing a significant yield curve inversion. The strategists suggest that a ceasefire and de-escalation in the Middle East could stabilize the short end of the eurozone yield curve, with market expectations for the ECB's terminal rate stabilizing around 2.50%. They also note that if German bond yields fall below 2.90%, it may present an opportunity to short duration, as they still expect the yield to reach 3.20% in the second quarter. #ECB#InterestRates#EuropeanCentralBank#EurozoneEconomy#GermanBonds#YieldCurve#RateHike#MonetaryPolicy#FinancialMarkets#SocieteGenerale