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

Резултати

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

Пребарај: #bribery

当前筛选 #bribery清除筛选
BadVolf

@badvolfnews · Post #960 · 27.09.2023 г., 17:56

🔍 Egyptian businessman arrested at NYC airport. Accused of bribing Sen. Bob Menendez. Pleaded not guilty to corruption charges. 💰💼 Meetings arranged between Menendez, wife, Egyptian officials. 🚨 FBI found cash, gold, luxury items at Menendez's home. Menendez denies wrongdoing, refuses to resign. 🤔 Influence over military sales to Egypt during alleged bribery scheme. Accused of pressuring officials and disrupting investigations. 🏦 Co-defendants scheduled for arraignment. Menendez hires Hunter Biden's attorney. Stay tuned for updates! 📰#Corruption#Politics#Bribery#Scandal https://www.foxnews.com/politics/egyptian-businessman-accused-bribing-bob-menendez-arrested-airport-freed-5m-bond Subscribe to @BadVolfNews

International News

@intnewsagency · Post #9401 · 28.04.2026 г., 09:40

Mayor of Ufa Ratmir Mavliev Arrested for Bribery and Land Fraud Ratmir Mavliev, mayor of Ufa since 2022, was detained along with his deputies on corruption charges. In 2025, he orchestrated the illegal transfer and resale of a 1,300 sq. m. plot of the "Raduga" sanatorium for 13 million rubles, demanding bribes for protection. Coming from a wealthy family with assets worth 4 billion rubles, Mavliev faces up to 15 years in prison. #Ufa#Corruption#Mavliev#Bribery#Bashkortostan The main news of Russia and the world ishere.

Venture Village Wall 🦄

@venturevillagewall · Post #3965 · 23.01.2025 г., 22:00

Crypto News Highlights: Funding and Regulations Bitcoin hits $105,000 amidst notable developments in the crypto sector. - Senator Cynthia Lummis announces a Strategic Bitcoin Reserve to hold BTC for 20+ years with no new taxes applied. - Vitalik Buterin warns of potential bribery linked to political tokens. Full insights here. - Rep. Bryan Steil appointed chair of the House subcommittee on crypto, focusing on fraud prevention and legislation. Read more on Axios here. - Swarm Network raises $3M led by Y2Z Ventures. - Radius secures $7M for rollup sequencer development, backed by Pantera Capital. - Drift Zone receives funding from 369 Capital, amount undisclosed. - Trump declares USA the "world capital of AI and crypto" at WEF. #Bitcoin#Crypto#VC#Ethereum#PoliticalTokens#MEV#Web3#Funding#Fintech#Blockchain#Bribery#Legislation#Fraud#Stablecoin#CynthiaLummis#VitalikButerin#Trump#Y2Z#PanteraCapital