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

Пребарај: #communicationskills

当前筛选 #communicationskills清除筛选
Andijan Development Center

@adceducate · Post #8453 · 09.04.2024 г., 12:58

🎤 Great news! 🌟 We are excited to announce the launch of our new public speaking course at ADC! 🏫 If you want to overcome the fear of public speaking, improve your presentation skills, or simply become a more effective communicator, our course is designed for you. With experienced instructors, a supportive environment, and a program focused on real-life success, we are here to help you find your voice and make an impact. 👩‍🏫👨‍🏫 Join us on a journey of development, confidence, and empowerment. Classes are starting soon, and spaces are limited, so book your spot today! ☎️For more details: 74 2261078 74 2281121 74 2281666 74 2276163 74 2252536 #PublicSpeaking#FindYourVoice#Empowerment#CommunicationSkills#Education#NewCourse#JoinUs

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #275 · 30.07.2025 г., 06:43

Mass-media fondi direktori bilan darslar 📚 Mass-media fondi direktori, tajribali media mutaxassisi Jahongir Azimov “Yozgi institut”imizda ishtirokchilarga maxsus darslar o‘tdilar. 💬 Mashg‘ulotlarda “Teamwork and Collaboration” (Jamoaviy ish va hamkorlik) hamda “Effective Communication Techniques” (Samarali muloqot usullari) mavzulari yoritildi. Ishtirokchilar jamoada samarali ishlash, o‘z fikrini ravon yetkazish va professional muomala ko‘nikmalarini amaliy mashqlar orqali rivojlantirdilar. 🤝 Bu darslar bilim boʻlibgina qolmay, kelgusida ishtirokchilarimiz uchun amalda eng foydali tajribalarga ham ega boʻlishdek imkoniyatni yaratdi. Jahongir Azimovga vaqtlarini ayamay kelgani va biz bilan ulashgan bilimlari uchun samimiy minnatdorchiligimizni bildiramiz! 💬💬💬🗣 Sessions with the Director of the Mass Media Foundation 📚 The Director of the National Mass Media Foundation and experienced media specialist Jahongir Azimov held special sessions for participants at our “Summer Institute”. 💬 The sessions covered the topics of “Teamwork and Collaboration” and “Effective Communication Techniques.” Participants enhanced their skills in effective teamwork, clear self-expression, and professional communication through practical exercises. 🤝 These sessions not only provided knowledge but also created an opportunity for our participants to gain valuable experiences that will be beneficial in their future careers. We sincerely thank Jahongir Azimov for taking the time to visit and share his knowledge with us! #TeachForUzbekistan#SummerInstitute#MediaLeadership#CommunicationSkills#Teamwork#JahongirAzimov#MassMediaSupport#YozgiInstitut#IlhomVaTajriba