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

Резултати

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

Пребарај: #awakening

当前筛选 #awakening清除筛选
✨Lioness⚜️Rising✨🪽♾️

@lionessrises · Post #113333 · 11.05.2026 г., 13:15

🔥 Becoming More Human The more I awaken… the more human I feel. Not less attached… not floating somewhere above it all… but more here than I’ve ever been. More present… more grounded… more complete. It’s strange, because I used to think awakening meant escaping the human experience… rising beyond it. But what I’ve found is the opposite. The more the noise falls away… the more real everything becomes. The more I feel… the more I see… the more I understand what it actually means to be alive. There’s no need to chase… no need to force… no need to become something else. It’s like I’m finally standing in my own life… fully. Not observing it from a distance… not trying to fix it… just being in it… and that feels like peace. Maybe awakening isn’t about leaving humanity behind… maybe it’s about finally arriving in it. ZF 🔥 #awakening#presence#grounded#selfrealization#growth#consciousliving ✨〰️✨〰️✨ Take only what resonates 💫 @Ascension_A_Memeoir✨🪬

🐎 Mustang Debbie Channel🐎

@mustangdebb · Post #47913 · 10.05.2026 г., 18:57

https://x.com/zachqfish/status/2053461293190062283?s=52 🙏 Why We Cannot See Creator Sometimes people ask, “Why can’t we see Creator?” It’s a beautiful question, and one that has echoed through humanity since the beginning of time. Maybe the answer is simpler than we think. A child in the womb cannot see its mother. It cannot comprehend the world beyond the walls that surround it. It does not know who is feeding it, protecting it, or sustaining every breath and heartbeat. And yet, the mother is there the entire time... loving, nourishing, and holding that child in perfect care. The child may not understand the mother, but the mother understands the child completely. In many ways, we are no different. We live inside a vast and mysterious universe, surrounded by intelligence, beauty, and order far beyond what our minds can fully grasp. We may not be able to see Creator with our physical eyes, but we can witness the fingerprints of Creator everywhere... in the rhythm of our hearts, the precision of nature, the power of love, and the quiet inner knowing that reminds us we are never alone. Perhaps this life is a sacred womb. A place where our souls are growing, learning, and preparing for a greater birth into a reality we cannot yet imagine. And just like the child in the womb, we may not fully understand what holds us. But we are held. We are guided. We are loved beyond measure. One day, when the veil lifts and our awareness expands, we may realize that what we were searching for was never separate from us. Creator was not hidden. Creator was carrying us all along. ZF 🔥 #Creator#Faith#SpiritualAwakening#TheWayOfBeing#DivinePresence#Awakening#Consciousness#NewEarth#TrustTheJourney#ZF🔥