@bestwallpapes · Post #3332 · 01.04.2025 г., 13:36
@Bestwallpapes #Food#Yummy
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
Пребарај: #yummy
@bestwallpapes · Post #3332 · 01.04.2025 г., 13:36
@Bestwallpapes #Food#Yummy
@instavine · Post #1084 · 11.03.2017 г., 14:00
#food#yummy#hungry🍿🍬 ------------ @instavine
@TgDict · Post #212 · 08.11.2023 г., 15:44
#food#picture#yummy https://t.me/fporn https://t.me/restaurantfood https://t.me/onlyfood https://t.me/dailyfoodporn https://t.me/foodovik https://t.me/foodrumedia https://t.me/aiqing
@ThemesM8 · Post #293 · 04.05.2022 г., 17:50
https://t.me/addtheme/Cookies_ThemesM8 🍬@ThemesM8🍭 #light#android#desktop#cookie#cookies#cute#pastel#sweet#white#green#yummy#colors#colorful#theme#themes#telegram_theme
@cookingdish · Post #577 · 11.11.2024 г., 15:21
Caramelized Shallots Pumpkin Pasta 🎃🍝 Recipe for 2 servings Ingredients: - 1/2 Hokkaido pumpkin 🎃 - 250 g pasta 🍝 - 250 g shallots 🧅 - Vegan butter for frying 🧈 - 25 ml maple syrup 🍁 - 100 g vegan cream cheese 🌱 - 300 ml vegetable stock 🥕🍲 - Pinch of salt and pepper 🧂 Toppings - Parsley, chopped 🌿 Preparation: 1. Dice the pumpkin and blanch for 10 minutes 🍲 2. Cook the pasta 🍝 3. Fry the shallots in butter, add maple syrup for a caramelized touch 🍁🧅 4. Deglaze with vegetable stock, add the pumpkin, stir, and simmer briefly 🎃🍲 5. Stir in the cream cheese, then mix in the pasta 🌱🍝 6. Top with fresh parsley and enjoy! 🌿✨ #VeganPasta#PumpkinSeason#CaramelizedShallots#ComfortFood#FallRecipes#PlantBased#EasyMeals#Yummy#PastaNight @dishes
@the_intelligent_investors · Post #1194 · 14.02.2024 г., 04:23
💎hadyo com | JBEZOS029 🎉#reels#top#reelsinstagram#trends#best#fyp#trendingreels#reelsinsta#usa#newyorknewyork#repost#regrann#youtube#yoga#yummy#newyork#foryou#cryptocurrency#crypto