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

Резултати

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

Пребарај: #israeli

当前筛选 #israeli清除筛选
MessageInABottle

@mib_messageinabottle · Post #6884 · 22.05.2024 г., 22:11

🇺🇳🇵🇸🇮🇱The amount of gaslighting and lies is pretty insane by the #Israeli supporter here. What happened to the aid workers indeed? @MyLordBebo | Boost us! | X

Hashtags

Addis Standard

@addisstandardeng · Post #21453 · 19.02.2026 г., 12:12

News: #Israeli President Herzog to visit #Ethiopia next week Isaac Herzog is expected to make a one-day official visit to Ethiopia next week, according to Israeli officials, in a move seen as part of expanding diplomatic engagement between the two countries. According to The Times of Israel, Herzog’s visit will include meetings with senior Ethiopian leaders aimed at strengthening political, economic, and cultural cooperation. The trip follows earlier high-level exchanges, including a 2018 visit by former Israeli President Reuven Rivlin, who held talks with Prime Minister Abiy Ahmed and other officials. More recently, Israeli Foreign Minister Gideon Sa’ar visited Addis Abeba in May 2025, meeting Ethiopian Foreign Minister Gedion Timothewos to discuss cooperation in political, economic, and technological sectors. https://www.facebook.com/share/1HGfFwBj8i/

El Pueblo Informa

@EPInforma · Post #35850 · 17.08.2025 г., 12:26

🇮🇱🇺🇸🇬🇧🇪🇺 IMPUNIDAD GARANTIZADA A ISRAEL POR EEUU, REINO UNIDO Y EUROPA El ejército israelí bombardeó a 3 civiles palestinos que estaban rescatando a otro civil herido en el barrio Al-Shujaiya, al este de Gaza. El régimen israelí ni siquiera esconde que extermina civiles desarmados a plena luz del día. #israel#israeli Vía 📱susanagiacaman Síguenos t.me/Epinforma🔁 comparte

HAMAS-ISRAEL WAR

@HAMASW · Post #8497 · 18.04.2024 г., 16:10

⁉️‼️Israel continues to steal! The occupying #Israeli Defense Ministry announced that they transferred 29,000,000 shekels seized during operations in #Gaza to the Israeli Treasury.

People's Press

@PeoplesPress · Post #2295 · 16.03.2024 г., 13:29

💔🇵🇸A little girl in the #Gaza Strip describing the #Israeli war and how it changed her life. "I was beautiful but the war made me ugly" @The Children of Gaza

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3981 · 08.02.2025 г., 13:59

Despite a ceasefire being in place, #Israel didn’t hold back from air striking Lebanon under the guise of “self-defense” and “removing threats”, breaching the ceasefire and continuing its aggression on #Lebanon. Israel attacked Lebanon 855 times during the truce period, killing 43 civilians. Israel also launched 81 ground incursions, 25 artillery bombings, 38 shootings, 37 abductions, 14 raids on houses, and destroyed 3 vehicles. Israel took advantage of the withdrawal period to demolish Lebanese villages. The #Israeli Army performed 282 detonation and bulldozing operations in 38 different villages. Naqoura was 90% destroyed by the end of the withdrawal period.

Addis Standard

@addisstandardeng · Post #22062 · 20.04.2026 г., 05:26

#IDF confirms authenticity of photo showing #Israeli soldier smashing Jesus statue with sledgehammer, pledges investigation after widespread outrage Addis Abeba- The Israeli military says it is investigating an incident involving one of its soldiers after a photo surfaced showing an Israeli soldier smashing a fallen statue of Jesus Christ in the head with a sledgehammer in southern Lebanon. The photo has triggered widespread outrage and condemnation among Christians around the world since it appeared on social media on Sunday 19 April 2026. According to The Times of Israel, the Israel Defense Forces (IDF) confirmed that the photograph depicts one of its soldiers using a sledgehammer to smash the statue while operating in southern Lebanon. Israel’s weeks long military attack in southern Lebanon has flattened entire areas, killing more than 2000 civilians and displacing hundreds of thousands. https://www.facebook.com/share/1AQbRbwxRM/?mibextid=wwXIfr

Hashtags

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3803 · 22.12.2024 г., 10:58

A group of #Israeli soldiers shot a young Syrian man dead, in a first-of-its-kind incident following Israel’s invasion of Southern #Syria. The incident took place in the #Syrian village of Ma’araya, located outside of the Israeli-Syrian buffer zone. The soldiers shot at the man during a protest against the #Israeli presence held by citizens of the village.

ПретходнаСтраница 1 од 5Следна