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

Резултати

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

Пребарај: #satire

当前筛选 #satire清除筛选
movies & series 🍿

@images · Post #1803 · 15.03.2025 г., 17:55

🍿 'Sicko': Watch Michael Moore's Eye-Opening Documentary for FREE 📆Release: 2007 🎭Genre: #Documentary · #Satire Michael Moore, known for 'Fahrenheit 9/11' and 'Bowling for Columbine', exposes the brutal truth behind the U.S. healthcare system in 'Sicko'. With his bold and provocative style, Moore reveals how insurance companies prioritize profits over people's lives. In the documentary, Moore compares this system to public healthcare models in Canada, the UK, France, and even Cuba — where an inhaler costs just five cents. The film shocks with heartbreaking stories of those abandoned by the system. Love him or hate him, Moore's powerful message makes 'Sicko' a must-see. And now you can watch it for FREE 🎬

Hidden In Plain Sight

@hiddeninplainsight1 · Post #24463 · 29.04.2026 г., 01:37

🇦🇺 PM Albanese assures the Australian public he is tackling the housing crisis making sure things aren’t “too fair” for “too long”…..🤪🤡 [Rupert Degas] #satire#funnynotfunny https://t.me/hiddeninplainsight1

The Innercircle Trader SMC community

@theinnercirclesmccommunity · Post #1376 · 09.02.2026 г., 10:31

Folks, we interupt... I'm sorry, repeat that again? It's still dropping, my word!? Okay Folks, you're advised to take your seats and gather the children. We interrupt your program to inform you with this fast developing story, please calm down and brace yourselves! Bincoin has continued its dramatic spiral down... and I'm just so shocked as all of you, I'm sure. Brace yourself... Bincoin is at 60k, ladies and gentleman please remain calm! The government advises remaining indoors due to roving mobs with pitchforks and torches are afoot. Dim your lights and shelter in place!!! #Satire #ImSuchUhStinker

AES INFO

@aesinfos · Post #2443 · 30.01.2025 г., 11:16

#AESinfo | #Satire🇨🇵 Candace Owens lâche une bombe… ou un pétard mouillé ? #CandaceOwens balance tout AUJOURD'HUI sur… Brizbite Macron pardon sur Jean-Michel Trogneux… ah non plutôt sur Brigitte Macron On s'y perd complètement, mais une chose est sûre : Owens prétend révéler un scandale XXL. Alors, pétard mouillé ou vraie bombe médiatique ? La France retient son souffle. Pendant ce temps, Emmanuel Macron : en sueur ou simplement amusé par le spectacle ? That is the question !

AES INFO

@aesinfos · Post #1953 · 29.11.2024 г., 11:34

#AESinfo | #Nigeria🇳🇬🤝🏾🇨🇵#France #Satire : Macron face au casse-tête nigérian : des calebasses à l'Élysée, mais où est l'argent ? Après l'affaire des djembés remplis de billets verts offerts par Blaise Compaoré à Jacques Chirac, voilà que la tradition des cadeaux exotiques entre l'Afrique et la France se poursuit. Lors de la récente visite officielle du président nigérian au palais de l'Élysée, son épouse, Oluremi Tinubu, a offert à Brigitte Macron de splendides calebasses artisanales. Si le geste est certes élégant, on ne peut s'empêcher de se demander : quel trésor cachent ces objets d'art ? Des diamants ? De l'or ? Ou simplement de l'eguci sauce ? Le mystère plane sur la valeur réelle de ces présents. Retrouvez l’article complet sur Twitter X @AESinfos Facebook https://www.facebook.com/share/19iRSjDVPn/?mibextid=LQQJ4d

des Geyers schwarzer Haufen

@FlorianGeyer2024 · Post #3074 · 09.12.2025 г., 15:39

👀🎶🙂🇩🇪🏴‍☠️ = 🍌🐀🥙 ............. 📺 Mehr meta-autistischer Wahnsinn rund um die uhr auf https://blobtv.de .................... Die neue Willy HIER: https://snicklink.de Quelle Link: 👀 Teilen kann zum Aufwachen beitragen! ✨🆕🌐Hauptkanal ✨▶️🌐 Videokanal ✨▶️🙂Funnykanal #Deutschland#Rattendöner#Satire#SnickLink

des Geyers schwarzer Haufen

@FlorianGeyer2024 · Post #2918 · 15.11.2025 г., 07:45

👀🤡⚰️⚱️🪦🇩🇪🏴‍☠️Neue Version. Alte Message. 🕊 .......................... 📺 MEHR meta-autistische Schwurbelcomedy rund um die Uhr auf https://blobtv.de .................... Die neue Willy HIER: https://snicklink.de Quelle Link: 👀 Teilen kann zum Aufwachen beitragen! ✨🆕🌐Hauptkanal ✨▶️🌐 Videokanal ✨▶️🙂Funnykanal #deutschland#cdu#merz#Pistorius#Spahn#Lügner#Hochverrat#Wahlfälschung#Korruption#Kanonenfutter#Wehrpflicht#Wehrdienst#SnickLink#Satire#BlobTV