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 слични објави

Пребарај: #kashkadarya

当前筛选 #kashkadarya清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #12420 · 17.04.2026 г., 09:59

#Kashkadarya Spring is the breath of nature, the heartbeat of our land. When fields are covered with scarlet tulips, it feels as if the earth itself has dressed in festive colors… 🌺 Yet sadly, there are those who, instead of admiring this beauty, consider destroying it a “heroic” act. A video circulating on social media shows a car with the license plate 70 R418XA and two other vehicles driving over fields of tulips, crushing not only the flowers but also the insects and reptiles that live there. What is most disturbing is that they record this cruelty with laughter and a sense of “pride”… This is not just a violation. This is violence against nature. This is a clear manifestation of moral degradation. Tulips are not just flowers. They are a symbol of spring, a vital part of the ecosystem, and a habitat for thousands of living beings. Destroying them means breaking an entire chain of life. The exact location of the incident is unknown, but based on the license plate, it is likely that it took place in the Kashkadarya region. In this regard, we call on the Kashkadarya Regional Department of Ecology to provide a legal assessment of this incident and hold those responsible accountable under the law. Nature does not belong to us. We are only its guests. If we fail to protect beauty, we will fail to protect the future… 🌍 ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

Hashtags

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #300 · 21.10.2025 г., 14:07

Qashqadaryodagi fellowlarimiz faoliyatlarining ikkinchi yilini davom ettirar ekan, ular uchun loyihani samarali boshqarish va project management tamoyillarini amaliy o‘rganishga bag‘ishlangan sessiya tashkil etildi. 📆 18–19-oktabr kunlari o‘tkazilgan mazkur sessiyada fellowlar ta’limdagi tashabbuslarni rejalashtirish, resurslarni boshqarish va jamoaviy ishni samarali yo‘lga qo‘yish bo‘yicha tajriba almashishdi. 💡 Sessiya BMT Taraqqiyot dasturi (UNDP) start-up tashabbuslar loyihasi mentori Barnoxon Artikxodjayeva tomonidan olib borildi. 😎Teach For Uzbekistan jamoasi Barnoxon Artikxodjayevaga o‘z tajribasi va qo‘llab-quvvatlovi uchun samimiy minnatdorlik bildiradi! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Qashqadaryo#EducationForAll 💬💬💬 As our fellows in Kashkadarya continue their second year of activities, a session was organized to strengthen their skills in effective project management and the practical application of project management principles. 📆 Held on October 18–19, the session focused on planning educational initiatives, managing resources, and fostering effective teamwork. 💡 The session was conducted by Barnokhon Artikkhodjaeva, mentor of the UNDP Start-up Initiatives Project. 😎The Teach For Uzbekistan team extends its sincere gratitude to Barnokhon Artikkhodjaeva for her valuable insights and continuous support! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Kashkadarya#EducationForAll 📱Instagram🕊Telegram🔹Linkedin📱Facebook📺YouTube🌍Veb sayt