TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #72 · 21 апр.

Регулярные выражения иногда могут быть просто монструозными. Выглядеть это может крайне запутанно. Сами регэкспы и без того история непростая, а когда это длинный паттерн на несколько десятков знаков, разобрать там что-либо становится не просто. Но на помощь приходит Python и его стремление сделать нашу жизнь проще! В функциях регулярок можно после паттерна указывать флаги, один из которых позволяет писать паттерны более свободно. А именно, добавлять пробелы и переносы, которые будут игнорированы. В результате мы можем разбить паттерн на строки и добавить комментов. Чтобы это сработало нужно добавить флаг re.VERBOSE. Пробелы в паттерне теперь следует указывать явно спец символами. Согласитесь, что даже с именованными группами а таком виде регэкспа выглядит вполне сносно 😉. #tricks#regex

Резултати

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

Пребарај: #scandinavia

当前筛选 #scandinavia清除筛选
Amazing Geography 🌍

@amazingeo · Post #66 · 17.08.2025 г., 16:12

🌍 The border between Norway and Russia runs along a tiny river, but despite being so far north, the local time can differ by two hours due to the countries choosing different time zones. ✨ #timezones⚡#borders⚡#Scandinavia⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍

Interesting Planet 🌍

@interesting_planet_facts · Post #1244 · 21.01.2026 г., 22:11

🌎 Norse mythology, rooted in Scandinavia, describes a complex pantheon including Odin, Thor, and Loki. Sources like the Poetic Edda and Prose Edda, compiled in the 13th century, preserve these legends. Ancient Norse beliefs influenced Viking society and persisted in oral tradition for centuries. ✨ #mythology⚡#vikings⚡#scandinavia 👉subscribe Interesting Planet 👉more Channels ​

Explore Norway through a journalist’s eyes: from the Olympic city of Lillehammer to Oslo’s city hall and royal palace. Discover sports facilities, nature, museums, and the unique Norwegian lifestyle. https://yep.uz/en/2025/09/norway-through-journalist-eyes-lillehammer-oslo/ #norway#lillehammer#oslo#travel#museum#nature#culture#norge#traveljournal#scandinavia#nordic