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

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

Резултати

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

Пребарај: #atalanta

当前筛选 #atalanta清除筛选
🏆 Info 288 - DEPORTES

@info288_deportes · Post #35344 · 19.09.2024 г., 21:25

⚽️🇪🇺Champions Atalanta 0-0 Arsenal#Champions#Atalanta#Arsenal El Arsenal no había conseguido marcar en sus últimas tres visitas a Italia... y volvió a olvidarse el 'cañón' en Londres. Esta vez, al menos, terminaron rascando un empate (0-0) gracias a un heroico David Raya que le detuvo un penalti a Retegui... y firmó una de las paradas del año en el rechace para terminar salvando los muebles. https://www.marca.com/futbol/champions-league/cronica/2024/09/19/66ec5e6822601d4f558b45c4.html Otros marcadores Estrella Roja 1-2 Benfica Feyenoord 0-4 Leverkusen Brest 2-1 Sturm Graz 🏆@Info288_deportes

Futplanet

@Fut_planet · Post #11446 · 15.05.2024 г., 23:23

La Juventus le ganó con un único gol de Vlahovic al Atalanta en la final de la Copa Italia y llegaron a 20 títulos de Copa @Fut_planet⚜️#CopaItalia🇮🇹#Juventus🇮🇹#Atalanta🇮🇹

Addis Standard

@addisstandardeng · Post #21957 · 07.04.2026 г., 06:48

#EU naval forces take control of hijacked #Iranian vessel off #Somalia EU naval forces under Operation #Atalanta have reported the liberation of the Iranian-flagged dhow Alwaseemi, which was hijacked 400 nautical miles East of #Mogadishu last March 24. "The pirates left the fishing vessel as a result of the pressure and presence exerted by Atalanta assets, in close coordination with Somali maritime police forces," Operation Atalanta said on Monday, April 6. On Sunday, April 5, Alwaseemi was liberated by Atalanta elements. The Iranian-flagged fishing vessel was finally abandoned by the unnamed pirate group on the northwestern coast of Somalia, after being pressured by ATALANTA assets. "Always prioritising the safety of hostages, a smart combination of 'concertina effect' conducted by Atalanta surface and air assets, plus a close and permanent coordination with Somali maritime..... https://www.bairdmaritime.com/security/incidents/piracy/eu-naval-forces-take-control-of-hijacked-iranian-vessel-off-somalia

Futplanet

@Fut_planet · Post #11426 · 09.05.2024 г., 04:06

Por otra parte, en Europa League🟠 el día de hoy, también se decidirán los finalistas de la competición. De un lado, Marsella🇫🇷 y Atalanta 🇮🇹 están empatados 1-1 en el global Del otro lado, el Leverkusen🇩🇪 va ganando 2-0 en el global y quiere seguir haciendo historia, el conjunto de Xabi Alonso🇪🇸 se verá cara a cara contra los Romanos comandados por De Rossi🇮🇹 @Fut_planet⚜️#UEL🟠#Marsella🇫🇷 #Atalanta🇮🇹#Roma🇮🇹#Leverkusen🇩🇪

AI match predictions

@ai_match_prediction · Post #11559 · 18.04.2026 г., 05:05

Italy Serie A🇮🇹 2026-04-18 13:00 UTC Udinese vs. Parma Predicted outcome: Udinese❌ Predicted score: 1:0 Actual: Parma 0:1 #Udinese#Parma 2026-04-18 16:00 UTC Napoli vs. Lazio Predicted outcome: Napoli❌ Predicted score: 1:0 Actual: Lazio 0:2 #Napoli#Lazio 2026-04-18 18:45 UTC AS Roma vs. Atalanta Predicted outcome: Draw✅ Predicted score: 1:1 Actual: Draw 1:1 #Roma#Atalanta #Football#ItalySerieA

AI match predictions

@ai_match_prediction · Post #11845 · 02.05.2026 г., 05:05

Italy Serie A🇮🇹 2026-05-02 13:00 UTC Udinese vs. Torino Predicted outcome: Udinese✅ Predicted score: 2:1 Actual: Udinese 2:0 #Udinese#Torino 2026-05-02 16:00 UTC Como vs. Napoli Predicted outcome: Como❌ Predicted score: 2:1 Actual: Draw 0:0 #Como#Napoli 2026-05-02 18:45 UTC Atalanta vs. Genoa Predicted outcome: Atalanta❌ Predicted score: 2:1 Actual: Draw 0:0 #Atalanta#Genoa #Football#ItalySerieA

AI match predictions

@ai_match_prediction · Post #11423 · 11.04.2026 г., 05:05

Italy Serie A🇮🇹 2026-04-11 13:00 UTC Cagliari vs. Cremonese Predicted outcome: Cagliari✅ Predicted score: 1:0 Actual: Cagliari 1:0 #Cagliari#Cremonese 2026-04-11 13:00 UTC Torino vs. Hellas Verona Predicted outcome: Torino✅ Predicted score: 2:1 Actual: Torino 2:1 #Torino#HellasVerona 2026-04-11 16:00 UTC AC Milan vs. Udinese Predicted outcome: AC Milan❌ Predicted score: 1:0 Actual: Udinese 0:3 #Milan#Udinese 2026-04-11 18:45 UTC Atalanta vs. Juventus Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Juventus 0:1 #Atalanta#Juventus #Football#ItalySerieA

AI match predictions

@ai_match_prediction · Post #11340 · 06.04.2026 г., 05:05

Italy Serie A🇮🇹 2026-04-06 10:30 UTC Udinese vs. Como Predicted outcome: Como❌ Predicted score: 1:2 Actual: Draw 0:0 #Udinese#Como 2026-04-06 13:00 UTC Lecce vs. Atalanta Predicted outcome: Atalanta✅ Predicted score: 0:1 Actual: Atalanta 0:3 #Lecce#Atalanta 2026-04-06 16:00 UTC Juventus vs. Genoa Predicted outcome: Juventus✅ Predicted score: 2:1 Actual: Juventus 2:0 #Juventus#Genoa 2026-04-06 18:45 UTC Napoli vs. AC Milan Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Napoli 1:0 #Napoli#Milan #Football#ItalySerieA

AI match predictions

@ai_match_prediction · Post #11143 · 22.03.2026 г., 05:05

Italy Serie A🇮🇹 2026-03-22 11:30 UTC Como vs. Pisa Predicted outcome: Como✅ Predicted score: 2:1 Actual: Como 5:0 #Como#Pisa 2026-03-22 14:00 UTC Atalanta vs. Hellas Verona Predicted outcome: Atalanta✅ Predicted score: 2:1 Actual: Atalanta 1:0 #Atalanta#HellasVerona 🔥 PREMIUM PICK 🔥 2026-03-22 14:00 UTC Bologna vs. Lazio Predicted outcome: Draw❌ Predicted score: 1:1 Actual: Lazio 0:2 #Bologna#Lazio 2026-03-22 17:00 UTC AS Roma vs. Lecce Predicted outcome: AS Roma✅ Predicted score: 2:1 Actual: AS Roma 1:0 #Roma#Lecce 2026-03-22 19:45 UTC Fiorentina vs. Inter Predicted outcome: Inter❌ Predicted score: 1:2 Actual: Draw 1:1 #Fiorentina#Inter #Football#ItalySerieA

AI match predictions

@ai_match_prediction · Post #12009 · 10.05.2026 г., 05:05

Italy Serie A🇮🇹 2026-05-10 10:30 UTC Hellas Verona vs. Como Predicted outcome: Como✅ Predicted score: 0:1 Actual: Como 0:1 #HellasVerona#Como 2026-05-10 13:00 UTC Fiorentina vs. Genoa Predicted outcome: Genoa❌ Predicted score: 1:2 Actual: Draw 0:0 #Fiorentina#Genoa 2026-05-10 13:00 UTC Cremonese vs. Pisa Predicted outcome: Cremonese✅ Predicted score: 2:1 Actual: Cremonese 3:0 #Cremonese#Pisa 2026-05-10 16:00 UTC Parma vs. AS Roma Predicted outcome: AS Roma✅ Predicted score: 1:2 Actual: AS Roma 2:3 #Parma#Roma 2026-05-10 18:45 UTC AC Milan vs. Atalanta Predicted outcome: Atalanta✅ Predicted score: 1:2 Actual: Atalanta 2:3 #Milan#Atalanta #Football#ItalySerieA