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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #60 · 31 мар.

Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic

Резултати

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

Пребарај: #isis

当前筛选 #isis清除筛选
Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29508 · 20.01.2026 г., 10:34

The authorities terrorist media admits that the first they do whenever they enter an area is to free their fellow #ISIS terrorists from prisons. Tweet: https://t.co/eFRJvH2cIh

Hashtags

Turchia e dintorni

@notizieturchia · Post #2899 · 19.12.2024 г., 11:30

7 imputati, condannati all'ergastolo, accusati di aver fatto parte dell'attentato dell'#ISIS a #Istanbul nel 2018 (45 morti), sono stati scarcerati con la decisione della Cassazione: "sono membri dell'organizzazione ma non c'entrano con l'attentato".

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29573 · 23.01.2026 г., 10:01

Al-Hol Camp: Pro-alJolani media outlets have launched a campaign promoting the narrative that #ISIS detainees in al-Hol camp are "victims." Since yesterday, pro–alJolani media have been conducting interviews with ISIS detainees in al-Hol camp, highlighting their claimed "suffering" and portraying them as having been wronged by the Syrian Democratic Forces (#SDF). These interviews reveal that the camp houses men as well, contradicting the commonly promoted claim that it contains only women and children. This style of coverage raises serious questions and suggests preparations to justify the release of some detainees, while ignoring their responsibility for some of the most brutal terrorist crimes in modern history, crimes rivaled only by those committed by Abu Mohammad al-Jolani himself. Previously, a member of al-Jolani's government, Nour al-Din al-Baba, admitted that the perpetrators of the June 2025 suicide bombing targeting the Mar Elias Church in Damascus had come from al-Hol camp, exploiting the chaos following the fall of the former regime to escape the camp and reach Damascus. This raises the question: why is al-Jolani’s media now attempting to whitewash their image? At the end of one circulating video showing al-Jolani's militias smuggling residents out of al-Hol camp, a child is heard asking one of the militants: “Do you have weapons?”, underscoring that this is a dangerous extremist group posing a serious threat to Syrian society and beyond. Additionally, Saudi channel Al-Hadath aired footage from the camp showing an angry ISIS detainee demanding that the Syrian state hold UNHCR staff accountable.

Hashtags

敏迪選讀

@mindiworldnews · Post #1329 · 25.03.2024 г., 00:33

2024/03/25 (Mon) 3/25 莫斯科恐攻:發生什麼事?美國月初才警告過?發動攻擊的組織可能是誰? #ISIS#伊斯蘭國#俄羅斯 早安啊! 我們趕快來看莫斯科恐攻發生什麼事... <br><br><br>俄羅斯時間3月22日晚上...

乌鸦观察

@Bigcrowdev · Post #22653 · 12.03.2022 г., 17:53

#ISIS#伊拉克#叙利亚 【极端组织“伊斯兰国”证实其最高头目身亡,并任命新领导人】 当地时间3月10日,‌极端组织“伊斯兰国”发表声明,‌证实其最高头目阿布·易卜拉欣·哈希米·库莱希死亡,‌并宣布阿布·哈桑·哈希米·库莱希为其继任者。 阿布·易卜拉欣·哈希米·库莱希和阿布·哈桑·哈希米·库莱希彼此之间并无亲缘关系。他们使用的均为假名,‌且“库莱希”不是其姓名的一部分,‌而是伊斯兰教先知穆罕默德所在的部落名称。 据法新社3月10日报道,‌“伊斯兰国”声称,‌阿布·易卜拉欣生前认可了阿布·哈桑·哈希米的地位,‌任命阿布·哈桑·哈希米也得到了“伊斯兰国”其他高层领导人的确认。 “伊斯兰国”发言人在其社交媒体上还表示,‌该组织前发言人阿布·哈姆扎·库莱希也已于“近日”死亡,‌并称“伊斯兰国”的成员已“宣誓效忠”阿布·哈桑·哈希米。 “伊斯兰国”是在阿布·易卜拉欣身亡后一个多月才发布这份声明的。今年2月3日美国总统拜登发表声明称,‌阿布·易卜拉欣在美军2月2日晚于叙利亚西北部极端分子控制区的“定点清除”行动中自杀身亡。 根据白宫和美国国防官员的说法,‌阿布·易卜拉欣为逃避美军抓捕,‌遂引爆炸弹,‌炸死自己和家人。对美方上述说法,‌“伊斯兰国”没有直接予以证实或否认。击毙阿布·易卜拉欣是自2019年巴格达迪死于美军空袭叙利亚伊德利卜的行动以来,‌美军针对“伊斯兰国”的反恐战争取得的又一重大胜利。 今年1月,‌“伊斯兰国”袭击叙利亚东北部一座监狱,‌与美国支持的叙利亚库尔德武装组织交火10天,‌数百人死亡。这座监狱关押至少3000名“伊斯兰国”武装人员,‌其中不少人据信趁乱成功越狱。(澎湃新闻)(参考消息)

六道輪迴

@sikyelah · Post #826 · 20.01.2026 г., 15:43

阿富汗喀布尔中餐馆兰州牛肉拉面遭ISIS-K自杀式恐袭,致中国公民1死2伤 当地时间2026年1月19日下午,阿富汗首都喀布尔 Shahr-e-Naw 商业区一家中式面馆发生严重爆炸。极端组织“伊斯兰国呼罗珊省分支”(ISIS-K)宣称对此次自杀式炸弹袭击负责,并明确表示目标针对中国。 事件共造成至少7人死亡、10余人受伤。经确认,遇难者中包含1名中国公民,另有2名中国公民受重伤! ISIS-K 在声明中明确表示,这次袭击是为了报复中国政府对待维吾尔族人的政策 #阿富汗#爆炸#恐怖袭击#isis

Turchia e dintorni

@notizieturchia · Post #3326 · 26.05.2025 г., 20:03

24 maggio, il governo centrale in #Siria, insieme ai rappresentanti della Coalizione internazionale e dell'Amministrazione Autonoma, hanno visitato, per la prima volta, il campo di #AlHol dove sono trattenuti 37mila famigliari dei membri dell' #ISIS: "è necessario un meccanismo per il loro rimpatrio".

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