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

Резултати

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

Пребарај: #russianbeauties

当前筛选 #russianbeauties清除筛选
Learn RCRussian🤍💙❤️

@learnRCRussian · Post #6104 · 28.01.2026 г., 13:00

🇷🇺Some Russian winter spirit for you! 🎵 🔻Улетай на крыльях ветра by Евгения Сотникова (Fly Away on the Wings of the Wind) is a segment of the vivid ballet scene Polovtsian Dances from the most famous work by A. Borodin — the opera Prince Igor (1875). Video: elizabet_crow (tik tok) #Russian_culture #Russianbeauties 🟠RCR | Support | Boost

Learn RCRussian🤍💙❤️

@learnrcrussian · Post #4369 · 18.03.2025 г., 18:51

Mydear Russian language learners! I often write about beautiful Russian women and beauty contests held in Russia. And now you have an opportunity to be in the jury! One of the subscribers of @learnRCRussian, a beautiful Russian girl Alena (see the photo, isn't she a beauty?), is a participant in the 10th season of the All-Russian beauty contest "Ты уникальная" (You Are Unique). 🟠Her number is 🔴 🔴. The final will be held on March 21st, and also launched is the long-awaited online voting, for which there will be a separate nomination and one of the main crowns: 🔴Miss PHOTO. Voting conditions are simple: 1. Subscribe (very important!): http://vk.com/tu.penza And https://www.instagram.com/tu.penza?igsh=MWxteHJxNzh2Z.. 2. Like the post with number 🔴 🔴 3. Leave a comment The participant with the most likes wins. PS The account is private. You'll get access as soon as you subscribe to the channel. This is a mandatory condition to avoid cheating. 🔴Please support her! Thank you everyone! Natalie with ❤️ #admins_letter #Russianbeauties

Learn RCRussian🤍💙❤️

@learnrcrussian · Post #4104 · 24.01.2025 г., 13:00

In order to become a continuation of the northern lights in the Murmansk region, a Muscovite woman created an unusual luminescent dress. 🔻Natalya Zakharova found suitable luminous paints and created the outfit with her own hands. 🔻The dress became a continuation of the magnificent northern lights on the Kola Peninsula. 🔻Before the photoshoot, the dress had to be charged with light. On the Kola Peninsula at the end of November, the duration of daylight hours is almost zero, and it is not possible to charge naturally. 🔻The girl did not specify how long the shooting itself lasted, but admitted that she "froze to the bone." Photos: Наталья Захарова (vk) #around_Russia #brief_and_interesting #Russianbeauties 😎RCRussian | Support | Boost

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #6012 · 11.01.2026 г., 14:40

The Internet is full of AI Snow maidens, but a creative team from Orenburg just dropped the ultimate response — a stunning music video with REAL girls. 🇷🇺Снегурочка (снегурочки) (femin.noun) [sni-gu-rach-ka (sni-gu-rach-ki)] Snow Maiden(s) 🔻Forget algorithms, this is about roots. Everything is authentically Russian and locally crafted: 🔸Shawls and outfits by Orenburg down-knitters 🔸Kokoshniks by a local designer 🔸All beauties from Orenburg "We are promoting what is our own, what is native," is their powerful motto. So, which version warms your heart more: the AI or this real, living beauty? 🔻Kokoshnik 🔻Orenburg shawls 🔻#Russianbeauties #AI #russian_culture 🟠RCR | Support | Boost

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