@QuietWorld · Post #6982 · 26.11.2019 г., 17:13
multiply grateful for God's love, because your caution only guarantees 0, so% of your safety every day #realtalk@quietworld
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
Пребарај: #realtalk
@QuietWorld · Post #6982 · 26.11.2019 г., 17:13
multiply grateful for God's love, because your caution only guarantees 0, so% of your safety every day #realtalk@quietworld
Hashtags
@QuietWorld · Post #6438 · 06.05.2019 г., 09:55
💯 #realtalk#life@quietworld🍃
@QuietWorld · Post #6383 · 19.04.2019 г., 14:58
this 💯👌 if you want to apologize, just say sorry and mean it. no need to add anything to make the other person feel bad for being frustated when you are the one who hurt them. #realtalk#quotes@quietworld🍃
@QuietWorld · Post #6972 · 25.11.2019 г., 12:53
"Sometimes life doesn't give you what you want, not because you don't deserve it, but because you deserve so much more." #realtalk#motivation@quietworld
Hashtags
@QuietWorld · Post #6991 · 29.11.2019 г., 12:28
"Goodbye is only for those who like their eyes, because for those who like their hearts and souls, there is no such thing as separation." #love#realtalk@quietworld
@QuietWorld · Post #6966 · 24.11.2019 г., 05:35
💯 #realtalk#truth @quietworld🍃
@QuietWorld · Post #6573 · 13.08.2019 г., 06:49
#realtalk#truth@quietworld🍃
@QuietWorld · Post #6460 · 15.05.2019 г., 04:50
#truth#realtalk @quietworld🍃
@QuietWorld · Post #6457 · 14.05.2019 г., 11:23
I appreciate honesty over everything. If you tell me what it is upfront and give me the option to take it or leave it, I respect that. #truth#realtalk@quietworld🍃
@QuietWorld · Post #6962 · 23.11.2019 г., 14:43
#love#reminder#realtalk @quietworld🍃
@QuietWorld · Post #7073 · 14.12.2019 г., 07:06
older than us, we were 22 when we were having this conversation), and two of my most observant friends talk about the self-conflict each of our coursemates had as they enter 21. & I wouldn't notice the 'pattern' if my friends didn't point out. & suddenly one of my friends started sharing his moment of depression and how he coped with it. & somehow at that moment I felt like my friends actually noticed my changed behaviour and suspected that there's something bothering my mind and they were actually trying to help me out by asking me out, being with me, spending time with me. & I'm glad that they are wise to not help me out by asking me what's wrong because if they ask me what's wrong , I don't even know what is wrong with me and me realizing that there's something off with me and not knowing what it is gonna make me feel so much wrong 😂 and I'm glad they didn't ask me that question. Instead, they just help me out by being there. I'm so grateful and blessed to have friends like them. I was grateful and I am more grateful now, because I just realized that there's actually so much more blessings I had that I haven't notice more in details until now. :') Anyway this is such a long post I didn't even have any idea that it was gonna be this long I wondered if anyone would even read it from beginning till the end, so here's a quick question, did I managed to keep you engaged from the beginning to the end of this post? 😅 #thoughts#afterthoughts#realtalk#poll @quietworld🍃
@QuietWorld · Post #6651 · 06.10.2019 г., 15:00
You do not miss the person; you miss the feelings you experienced with them. If you were to somehow receive similar feelings, you would dismiss & forget that person. #quotes#love#relationship#realtalk @quietworld🍃