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

Пребарај: #dowjones

当前筛选 #dowjones清除筛选
Reuters: World

@reutersworldchannel · Post #149338 · 13.10.2021 г., 22:53

Growth stocks lift S&P, Nasdaq U.S. stocks ended higher, led by gains in shares of big growth names like Amazon.com and Microsoft while JPMorgan shares fell along with other bank shares and weighed on the market. #News#Reuters#USStocks#Markets#S&P500 #Nasdaq#DowJones#WallStreet Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Crypto M - Crypto News

@CryptoM · Post #65012 · 10.04.2026 г., 13:54

🚀 U.S. Stock Market Opens with Mixed Performance U.S. stocks opened with mixed results as the Nasdaq rose by 0.41% and the S&P 500 increased by 0.24%, while the Dow Jones experienced a slight decline of 0.01%. According to NS3.AI, this varied performance reflects ongoing market dynamics and investor sentiment. #StockMarket#USMarkets#Nasdaq#SP500#DowJones#InvestorSentiment#MarketPerformance

PRICE ACTION EXPERT

@priceactionexpert · Post #7905 · 23.11.2024 г., 08:14

https://x.com/priceactiongann/status/1830819785975955483 #nifty#geometry#banknifty New Course Book! ✅Market movements through the lens of advanced Geometric concepts. ✅Multidimensional and Spherical Time concepts of Trading with our upcoming course (book), ✅This innovative book dives deep into the concept of time-related trading, blending advanced geometric principles with practical markets Exploring Triangles, Squares, and Circles. ❤️🙏❤️ #stocks#stockmarket#gann#trading#time#gold#silver#xauusd#SPX500#DowJones#NASDAQ100

PRICE ACTION EXPERT

@priceactionexpert · Post #7723 · 03.09.2024 г., 04:08

https://x.com/priceactiongann/status/1830819785975955483 #nifty#geometry#banknifty New Course Book! ✅Market movements through the lens of advanced Geometric concepts. ✅Multidimensional and Spherical Time concepts of Trading with our upcoming course (book), ✅This innovative book dives deep into the concept of time-related trading, blending advanced geometric principles with practical markets Exploring Triangles, Squares, and Circles. ❤️🙏❤️ #stocks#stockmarket#gann#trading#time#gold#silver#xauusd#SPX500#DowJones#NASDAQ100

PRICE ACTION EXPERT

@priceactionexpert · Post #7955 · 20.12.2024 г., 08:14

https://x.com/priceactiongann/status/1870012167732511054?t= #niftycrash#stockmarketcrash 1.2025 Nifty first 7 to 9 months will be massive drop slow or fast and most of the Indian stocks will follow this cycle! 2.Biggest cycles ended in #Nasdaq #spx#DowJones u.s indices And also #Bitcoin ! 3.Most of the major instruments are going to retrace or drop or crash only. 4.Without a doubt it should sooner or later drop only ! 5.Indian markets will follow! In fact Indian markets completed their cycle fast and it's always been a leading indicator for global cues based on the facts. 6.know when to invest and when to avoid . 7.very careful and forewarned is forearmed ! Cannot stress enough and be ready! #nifty50#Nifty#banknifty#stockmarkets#stockmarketnews#gann#StockMarketIndia#StockMarketUpdate