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

Резултати

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

Пребарај: #humanitarianaid

当前筛选 #humanitarianaid清除筛选
BadVolf

@badvolfnews · Post #1197 · 01.11.2023 г., 12:25

UN chief warns of "immense suffering" as Gaza aid remains inadequate. Israel's relentless bombardment overwhelms hospitals and leaves Gaza without essential supplies. More than 8,500 lives, including children, have been lost. The situation is "absolutely horrific", says Red Crescent. Calls for a ceasefire and increased humanitarian aid are rejected by the US, prioritizing their support for Israel. As the death toll rises, the UN pleads for an end to this "spiral of death". The world must act now to prevent further tragedy. #GazaCrisis#HumanitarianAid https://www.aljazeera.com/news/2023/10/31/un-chief-guterres-says-aid-trickling-into-gaza-is-completely Subscribe to @BadVolfNews

🇷🇺🚛 Russian servicemen delivered more than 90 tons of humanitarian aid to residents of Dergachevsky district of Kharkov region. ▪️Humanitarian aid from Russia was delivered to the liberated settlements of the Kharkov region (Ukraine). ▪️The cargo includes food, bottled drinking water, medication for medical institutions, as well as warm clothes for children and adults. ▪️Due to the fact that during the retreat the Ukrainian Armed Forces blew up the road bridge, the delivery of humanitarian cargo was complicated. ▪️Russian servicemen provided security of the humanitarian convoy. #MoD#Russia#Ukraine#HumanitarianAid @mod_russia_en

🇷🇺🚛 Russian servicemen delivered more than 4 tons of humanitarian cargo to residents of Izyum district of Kharkov region. 🚁 The cargo was delivered by a helicopter of the Russian Aerospace Forces from Belgorod region. ▪ It includes food, baby food, bottled drinking water and medication. #MoD#Russia#Ukraine#HumanitarianAid @mod_russia_en

Sos Donbass

@sos_donbass · Post #891 · 14.12.2023 г., 11:38

🏆MISSION EST ACCOMPLIE Deuxième convoi humanitaire de l’association Sos Donbass s’est terminé hier 13 décembre. Tous les bénévoles participants à cette entreprise sont rentrés chez eux sains et saufs. 🙏🏻Énorme merci à Marc Bocquier pour son dévouement. Il est resté en mission du début à la fin. Deux mois au total 👏🏼💪🏼 ▫️Merci à Michel de l’avoir épaulé, malgré les circonstances qui l’ont forcé à rentrer plus tôt, mais il est revenu dès qu’il a pu. ▫️Merci à Gilles d’avoir accompagné Marc pendant les longues jours d’attentes à la douane. ▫️Merci à Yury notre jeune bénévole, très engagé. ▫️Merci à Vincent Perfetti pour son travail médiatique pendant et après le convoi. ▫️Merci à Elvira pour son travail en arrière plan. Grâce à sa persévérance la situation avec les papiers a été résolue. 🙏🏻Merci a tous les donateurs qui nous ont fait confiance et sont restés fidèles malgré les difficultés. 🕊️Ensemble nous parviendront à la victoire et à la paix ! #sosdonbass#humanitarianaid#donbass

Venezuelanalysis

@venanalysis · Post #2001 · 11.06.2025 г., 22:40

📰 NEWS | Venezuela Calls for Release of Gaza Freedom Flotilla Activists, Condemns Israeli Blockade and Genocide 🇻🇪 Venezuela has condemned Israel’s interception of the Madleen vessel in international waters and called for the release of its 12-member crew, including activist Greta Thunberg. The ship carried humanitarian aid bound for Gaza. Caracas described Israel’s blockade and attacks on aid distribution as part of a “systematic extermination” of Palestinians. Over 54,000 have been killed since October 2023. 🔗 Full story here: https://venezuelanalysis.com/news/venezuela-calls-for-release-of-gaza-freedom-flotilla-activists-condemns-israeli-blockade-and-genocide #Gaza#HumanitarianAid#Palestine

Sos Donbass

@sos_donbass · Post #867 · 04.12.2023 г., 17:14

💊Notre bénévole Nikolai, l’ancien combattant a reçu enfin les médicaments commandés par des personnes âgées de Lougansk. 🕊️Il a été blessé, il ne peut plus défendre sa région, mais il veut rester utile, comme ça est devenu bénévole de l’association Sos Donbass. 🕊️Nikolai s’occupe des personnes âgées qui vivent seuls et qui ont besoin d’aide. 🚗Bientôt il va réceptionner une voiture offerte par un donateur français, pour qu’il puisse continuer à aider nos aïeux. SUIVRE SOS DONBASS #sosdonbass#EuropeSolidarity#humanitarianaid

Sos Donbass

@sos_donbass · Post #377 · 11.04.2023 г., 18:59

🚛 Convoi humanitaire pour Donbass printemps 2023. Paprasse pour la douane 🛃 Merci à tous les donateurs pour les dons et la confiance. 🕊️Notre premier , beaucoup de préparations, beaucoup d’incertitudes, de stresse et de pression, mais on ira jusqu’au bout💪🏼 #donbass#aidehumanitaire#sosdonbass#humanitarianaid

ПретходнаСтраница 1 од 3Следна