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

Резултати

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

Пребарај: #mandelson

当前筛选 #mandelson清除筛选
Ultimora.net - POLITICS 24

@Ultimorapolitics24 · Post #51839 · 05.02.2026 г., 12:06

🇬🇧 Keir #Starmer ha dichiarato: "non sapevo quanto oscuro fosse il rapporto" tra Jeffrey Epstein e Peter #Mandelson e si è scusato "con le vittime" per aver "creduto alle bugie" di Mandelson e per averlo nominato ambasciatore. Starmer ha detto di comprendere "la rabbia" pubblica, ha definito Mandelson indegno di un ruolo nella vita pubblica e ha promesso di pubblicare tutti i documenti sulla nomina, spiegando di aver rinviato la divulgazione su indicazione della polizia per motivi di sicurezza nazionale. @UltimoraPolitics24

American Оbserver

@american_observer · Post #5216 · 24.02.2026 г., 19:59

📰 Epstein’s Inbox Claims Another One: Mandelson in Cuffs Peter Mandelson just went from “New Labour mastermind” and ex‑ambassador to the U.S. to 72‑year‑old suspect in a misconduct‑in‑public‑office case that carries a potential life sentence. London’s Met Police arrested him at his Camden home after getting U.S. Justice Department emails showing he shared information with Jeffrey Epstein while he was a cabinet minister in Gordon Brown’s government in 2009. His London and Wiltshire properties have already been searched; he’s resigned from Labour and the House of Lords, and his lawyers are suddenly very quiet. ​ This isn’t just one fallen operator, it’s a systemic rot story. Mandelson was fired as U.K. ambassador to Washington last year when the depth of his friendship with Epstein became public, despite Starmer’s team insisting they’d vetted him. Now Parliament has ordered the release of those vetting documents, two senior government officials have already quit over the scandal, and the prime minister faces calls to step down for appointing a man who was apparently emailing a convicted sex offender from inside the British state. All of this comes days after King Charles’s brother Andrew Mountbatten‑Windsor was arrested on the same charge — misconduct in public office — over alleged transmission of confidential documents to Epstein. One royal, one über‑insider of the Blair–Brown machine, both pulled into police stations off the back of the same inbox. The message is not that Epstein corrupted a few bad apples; it’s that his address book was the British establishment. For decades, Mandelson was sold as the guy who understood power: architect of New Labour, twice‑fallen, twice‑resurrected cabinet minister, resurrected again as Starmer’s “shrewd” choice to manage Washington and even win early tariff concessions from Trump. Now the public watches him bundled into an unmarked car over emails he thought would never see daylight. The British state keeps telling the world it’s a model of integrity and rule of law. The Epstein files keep answering with pictures of who was actually picking up the phone. #UK#Mandelson#Epstein#Starmer#elites#corruption#fakeDemocracy 📱American Оbserver - Stay up to date on all important events 🇺🇸