@wukongcm · Post #46 · 19.11.2024 г., 03:27
Hey WUKERS, 🔥 This Game Is Yours, We Need You! 👉 Show yourself: https://t.me/bmwukongbot/join?startapp=L29WAAMR #Wukong
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
Пребарај: #wukong
@wukongcm · Post #46 · 19.11.2024 г., 03:27
Hey WUKERS, 🔥 This Game Is Yours, We Need You! 👉 Show yourself: https://t.me/bmwukongbot/join?startapp=L29WAAMR #Wukong
Hashtags
@wukongcm · Post #44 · 14.11.2024 г., 05:16
🔥Welcome to Wukong – where every step is a challenge. Here, you don’t just earn Wk; you face fierce trials to move closer to the true treasure – the boundless power of the sacred scrolls. Let's join Wukong to conquer the missions and discover the secret rewards that await you. ➡️ Are you ready to step into legend? https://t.me/bmwukongbot/join?startapp=L29WAAMR #Wukong
Hashtags
@wukongcm · Post #42 · 25.10.2024 г., 07:39
⚡️ Transform your crypto experience with CoinEx, just like Wukong's 72 transformations. Get started today! ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #39 · 21.10.2024 г., 07:47
⚡️ Defy the odds like Wukong in battle. On CoinEx, every trade is a step toward your next big victory! ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #36 · 17.10.2024 г., 07:51
✔️ Master the art of trading, just like Wukong mastered his powers. Start with CoinEx today and become a crypto legend ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #34 · 12.10.2024 г., 07:55
✔️ Forge your own crypto legend with CoinEx, just like Wukong in his journey. Start trading today! ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #33 · 11.10.2024 г., 07:53
💥 Every trade is a step closer to victory! CoinEx is your battlefield—are you ready to conquer? ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #31 · 09.10.2024 г., 08:26
👍Like Wukong battling epic bosses, conquer your crypto journey with CoinEx. Sign up now and get ready to take on the world of digital assets! ➡️ Register CoinEx: https://www.coinex.com/register?refer_code=webgh #Wukong#CoinEx
@wukongcm · Post #43 · 26.10.2024 г., 07:42
💥 Take on the crypto world like a true warrior with OKX. Your journey starts now! ➡️ Get reward on OKX: https://www.okx.com/join/84940417 #Wukong#OKX
@wukongcm · Post #40 · 22.10.2024 г., 07:58
✔️ Strike fast and win big, just like Wukong! Join OKX and experience lightning-fast trades! ➡️ Get reward on OKX: https://www.okx.com/join/84940417 #Wukong#OKX
@wukongcm · Post #37 · 18.10.2024 г., 07:53
✨ Journey through the crypto universe with OKX. Your path to victory is clear—start trading now! ➡️ Get reward on OKX: https://www.okx.com/join/84940417 #Wukong#OKX
@wukongcm · Post #35 · 16.10.2024 г., 07:48
🎁 No need for 72 transformations—on OKX, all you need is one account to start trading! ➡️ Get reward on OKX: https://www.okx.com/join/84940417 #Wukong#OKX