@EuropeanTribalism · Post #1862 · 05.11.2025 г., 18:12
Gauntlet from the parade armor of Henry III of France, made around 1560. #artifacts @EuropeanTribalism
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
Пребарај: #artifacts
@EuropeanTribalism · Post #1862 · 05.11.2025 г., 18:12
Gauntlet from the parade armor of Henry III of France, made around 1560. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1837 · 20.05.2025 г., 15:18
On the Schöningen Double-Pointed Sticks In Schöningen, Germany, archaeologists found double-pointed sticks, crafted 200,000 years ago by early Europeans, likely Neanderthals. These slender wooden tools, possibly throwing sticks, showcase precise craftsmanship. Sharpened at both ends, they reflect sophisticated woodwork and hunting skill. Their balanced design suggests aerodynamic mastery for small prey. Preserved in sediment, these artifacts highlight Europe’s ancient ingenuity. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1592 · 30.04.2023 г., 16:14
Scythian Gold Goryt Overlay (4th century BC). It was found in Chertomlyk Barrow near Nikopol, Dnieper Area, Russia. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1583 · 25.04.2023 г., 17:34
Altar dedicated to the divine twins Mars and Venus. Marble, Roman artwork of the end of the reign of Trajan (98-117 AD), later re-used under the Hadrianic era (117-132 AD) as a base for a statue of Silvan. From the portico of the Piazzale dei Corporazioni in Ostia Antica. Shown in museum of Palazzo Massimo alle Terme, Rome, Italy #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1582 · 25.04.2023 г., 05:33
A 5th Century BC; Scythian gold ritual vessel with relief images of griffins, lions, horses and deer, from the Bratolyubivka Burial Mound, Kherson Region, Ukraine. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1567 · 02.04.2023 г., 07:51
Figure of Swastika on a Corinthian Silver Coin (550–500 BC) National Archaeological Museum, Athens #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1551 · 09.03.2023 г., 07:47
On swastikas (18) In 2020 scientists discovered a trove in Denmark, which contained around one kilogram of gold artifacts. Among these items there was a disc depicting the Norse god Odin. The interesting thing is, that this disc can be dated to the 5th century A.D., and is thus the oldest trace of Odin worship which was ever found. The runic inscription on the disc reads "He is Odin's man". Interestingly the swastika is clearly depicted next to Odins head in the center of the disc. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1521 · 03.02.2023 г., 13:39
Parade armor and tack made for King Erik XIV. of Sweden, around 1562 A.D. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1517 · 30.01.2023 г., 10:37
Mycenaean daggers, dating back to roughly 1600 B.C. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1512 · 23.01.2023 г., 17:27
Venus of Laussel, c. 23-25,000 years old, found in Marquay, Dordogne, France. Low relief on limestone block, height 18⅛ " Museum of Aquitaine, Bordeaux, France. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1502 · 10.01.2023 г., 07:53
The back of an ancient Greek mirror (2nd-1st Century BC) depicting the Goddess Aphrodite preparing to hit Eros with a sandal as punishment for breaking a vase. #artifacts @EuropeanTribalism
Hashtags
@EuropeanTribalism · Post #1450 · 03.11.2022 г., 16:10
These Roman drinking cups were found in Denmark and date back to the 2nd to 3rd century B.C. #artifacts @EuropeanTribalism
Hashtags