@developmentnewsindia · Post #44271 · 01.05.2026 г., 03:23
India among 6 countries placed on US Trade Representative priority watch list. #geopolitics
Hashtags
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
Пребарај: #geopolitics
@developmentnewsindia · Post #44271 · 01.05.2026 г., 03:23
India among 6 countries placed on US Trade Representative priority watch list. #geopolitics
Hashtags
@developmentnewsindia · Post #44262 · 30.04.2026 г., 20:27
🇦🇪⚡🇵🇰 Etihad fires 15 Pakistanis, gives 48-hour exit order: UAE signals tougher stance on Islamabad #Geopolitics https://t.co/hwWqm6bTxX
Hashtags
@developmentnewsindia · Post #44259 · 30.04.2026 г., 18:35
Russian FM Sergey Lavrov to attend BRICS FM Summit in New Delhi from 14-15 May #Geopolitics
Hashtags
@developmentnewsindia · Post #44229 · 30.04.2026 г., 09:53
Indian, Italian Defence ministers agree to Bilateral Military Cooperation Plan (MCP) 2026-27 #Geopolitics
Hashtags
@developmentnewsindia · Post #44184 · 29.04.2026 г., 07:54
Vietnam President To Lam to visit India next week. #Geopolitics
Hashtags
@developmentnewsindia · Post #44163 · 28.04.2026 г., 12:43
India Condemns Terrorists Attacks in Mali #Geopolitics
Hashtags
@developmentnewsindia · Post #44134 · 27.04.2026 г., 16:40
No Consensus among BRICS members on West Asia Conflict : MEA #Geopolitics
Hashtags
@developmentnewsindia · Post #44129 · 27.04.2026 г., 15:02
🇮🇳🤝🇯🇴 Jordan joins India led International Solar Alliance (ISA), the Coalition for Disaster Resilient Infrastructure (CDRI) and the Global Biofuel Alliance (GBA) #Geopolitics
Hashtags
@developmentnewsindia · Post #44088 · 26.04.2026 г., 16:51
Spokesperson of Iran’s National Security Committee, Ebrahim Rezaei, has called Pakistan ‘not a suitable mediator and it lacks credibility and questions its neutrality. #Geopolitics
Hashtags
@developmentnewsindia · Post #44034 · 24.04.2026 г., 15:15
First BRICS statement on West Asia conflict, after BRICS Deputy Foreign Ministers and Special Envoys on the Middle East and North Africa (MENA) meet in New Delhi. #Geopolitics
Hashtags
@developmentnewsindia · Post #44023 · 24.04.2026 г., 13:18
🇺🇳 UNGA President Annalena Baerbock to visit India on April 28th #Geopolitics
Hashtags
@developmentnewsindia · Post #43970 · 23.04.2026 г., 09:43
🇮🇷⚔️🇺🇸Report: Iran Bypasses US Naval Blockade with 34 Tankers According to cargo tracking group Vortexa, at least 34 tankers linked to Iran have successfully bypassed the US naval blockade since its inception. A significant number of these vessels were reportedly transporting Iranian crude oil, a key source of revenue for the regime. Vortexa's data indicates 19 of the vessels exited the Persian Gulf while 15 entered. Analysts suggest the current US Navy deployment is insufficient to fully enforce the blockade line. #Geopolitics
Hashtags