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

Резултати

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

Пребарај: #eas

当前筛选 #eas清除筛选
Russian Mission to ASEAN

@aseanrussia · Post #1908 · 19.10.2025 г., 10:28

🗓 On October 17, the Russian delegation comprising representatives from the Ministry of Energy and the Ministry of Foreign Affairs 🇷🇺 — took part in the 19th East Asia Summit (#EAS) Energy Ministers’ Meeting held in Kuala Lumpur 🇲🇾. 🔹️The discussions focused on enhancing regional energy connectivity and resilience, with participants exchanging views on practical cooperation, energy transition pathways, and cross-border investments in energy development.

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1885 · 26.09.2025 г., 03:56

🗓 On September 25, the delegation of the Ministry of Economic Development of the Russian Federation 🇷🇺 took part in the 13th East Asia Summit (#EAS) Economic Ministers’ Meeting in Kuala Lumpur, Malaysia 🇲🇾. 🔹️The Meeting underscored the importance of fostering closer economic cooperation between ASEAN and the EAS Participating Countries and highlighted the importance of engaging in constructive dialogue, open communication, and collaboration to address challenges. 🔹️Participants also discussed possible areas for cooperation to support efforts to drive robust economic growth in the region.

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1847 · 10.09.2025 г., 04:59

🗓 On September 10, Russia's Alternate SOM Leader, Director-General of the Department of Asian and Pacific Cooperation of the Russian MFA Mr. Alexey Ovchinnikov🇷🇺 participated in the East Asia Summit Senior Officials' Meeting (#EAS SOM) in Port Dickson, Malaysia 🇲🇾. 🔹️Senior officials discussed issues related to preparation for the EAS Summit in October and joint efforts on strengthening tangible cooperation within the EAS. #EAS

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1777 · 11.07.2025 г., 04:56

📸 Russia's Foreign Minister Sergey Lavrov takes part in the 15th meeting of the Foreign Ministers of the countries participating in the East Asia Summit (#EAS) 📍 Kuala Lumpur, July 11

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1343 · 23.10.2024 г., 12:11

🎙 Excerpts from the Comment by Russia's Foreign Ministry Spokeswoman Maria Zakharova on the developments around the East Asia Summit (#EAS). https://telegra.ph/Comment-by-Russias-Foreign-Ministry-Spokeswoman-Maria-Zakharova-on-the-developments-around-the-East-Asia-Summit-10-23

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1308 · 18.10.2024 г., 09:02

Ambassador of Russia to ASEAN H.E. Mr. Evgeny Zagaynov 🇷🇺 💬 "Attempts to politicize the East Asia Summit (#EAS) agenda are detrimental to the regional cooperation". https://m.antaranews.com/berita/4400313/rusia-ada-upaya-masukkan-geopolitik-di-ktt-asia-timur?utm_source=antaranews&utm_medium=mobile&utm_campaign=latest_category

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1281 · 23.09.2024 г., 10:06

🗓 On September 21, the delegation of the Ministry of Economic Development of the Russian Federation 🇷🇺 took part in the 12th East Asia Summit (#EAS) Economic Ministers’ Meeting in Vientiane, Lao PDR 🇱🇦. 🔹️The Meeting exchanged views on the global and regional economic developments and discussed how EAS Participating Countries can take concerted actions to mitigate global economic challenges. 🔹️Participants also discussed possible areas for cooperation to support efforts to drive robust economic growth in the region.

Hashtags

Russian Mission to ASEAN

@aseanrussia · Post #1235 · 23.08.2024 г., 03:16

🗓 On August 22, Russian delegation 🇷🇺 took part in the East Asia Summit Senior Officials' Meeting (#EAS SOM) in Luang Prabang, Lao PDR 🇱🇦. 🔹️Participants discussed the preparation for the upcoming 19th EAS Summit in October 2024 in Vientiane and exchanged views on the EAS agenda. 🇷🇺 Russian Ambassador to ASEAN H.E. Evgeny Zagaynov underlined Russia's unwavering support of the Lao PDR during its ASEAN Chairmanship and emphasized the need to further promote tangible cooperation within the EAS in particular in such areas as fight against infectious diseases and tourism.

Hashtags

123•••89
ПретходнаСтраница 1 од 9Следна