@internationalgeographic · Post #5453 · 26.02.2025 г., 00:17
#Switzerland🇨🇭 The resort of the Burgenste on Lake Lucerne is an impressive landscape on a mountain range at an altitude of 500 meters above Lake Lucerne.
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
Пребарај: #switzerland
@internationalgeographic · Post #5453 · 26.02.2025 г., 00:17
#Switzerland🇨🇭 The resort of the Burgenste on Lake Lucerne is an impressive landscape on a mountain range at an altitude of 500 meters above Lake Lucerne.
Hashtags
@artematizando · Post #4871 · 16.09.2025 г., 07:41
San Giovanni Battista Church, by architect Mario Botta, Mogno, #Switzerland (Photos: Stefano Perego)
Hashtags
@VOYAGE · Post #1698 · 24.03.2026 г., 13:14
🌊 The Areuse River — a natural gem in northeastern Switzerland, carving its way through majestic Alpine landscapes ⛰🌲 Its crystal-clear waters flow through rocky gorges, forming picturesque cascades and waterfalls. Every bend of the Areuse is like a new postcard, filled with wild beauty and peaceful nature 🍃📸 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1688 · 14.03.2026 г., 13:14
Switzerland🇨🇭 🟠Switzerland is a calm, unhurried, and steadily living country. It does not like upheavals. 🟠It is one of the most beautiful and richest countries in the world, with most of its territory covered by mountains (the Alps and Jura). 🟠Switzerland is a land of stunning alpine landscapes and picturesque small towns, blue lakes reflecting mountains and glaciers, and green valleys. #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1543 · 27.08.2025 г., 12:14
📍Switzerland – a land of stunning Alpine landscapes, picturesque small towns, and blue lakes that reflect the mountains and glaciers. 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1542 · 26.08.2025 г., 12:14
Switzerland 🇨🇭 Embrace the charm of Swiss villages, indulge in delicious chocolate, and soak in the stunning views that Switzerland has to offer. 🔥 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1539 · 23.08.2025 г., 12:14
✨This must be what paradise on Earth looks like! 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1523 · 07.08.2025 г., 12:14
Switzerland🇨🇭 🟠Switzerland is a calm, unhurried, and steadily living country. It does not like upheavals. 🟠It is one of the most beautiful and richest countries in the world, with most of its territory covered by mountains (the Alps and Jura). 🟠Switzerland is a land of stunning alpine landscapes and picturesque small towns, blue lakes reflecting mountains and glaciers, and green valleys. 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1506 · 22.07.2025 г., 12:14
🏞 Zizikon — a picturesque town on the shores of Lake Lucerne in the heart of Switzerland 🏔 ✨ Here, you can see several historic landmarks, such as the cross chapel, known for its unique architecture, and the ancient Monastery of Santissima Trinitas, which holds centuries of history and spirituality 🙏 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1504 · 20.07.2025 г., 12:14
🌊 The Areuse River — a natural gem in northeastern Switzerland, carving its way through majestic Alpine landscapes ⛰🌲 Its crystal-clear waters flow through rocky gorges, forming picturesque cascades and waterfalls. Every bend of the Areuse is like a new postcard, filled with wild beauty and peaceful nature 🍃📸 #Switzerland | @voyage
Hashtags
@VOYAGE · Post #1450 · 15.06.2025 г., 12:14
✨This must be what paradise on Earth looks like! 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland🇨🇭@voyage
Hashtags
@VOYAGE · Post #1434 · 28.05.2025 г., 12:14
📍Switzerland – a land of stunning Alpine landscapes, picturesque small towns, and blue lakes that reflect the mountains and glaciers. 📏 📏 📏 📏 📏 📏 📏 📏 #Switzerland🇨🇭@voyage
Hashtags