@mib_messageinabottle · Post #6884 · 22.05.2024 г., 22:11
🇺🇳🇵🇸🇮🇱The amount of gaslighting and lies is pretty insane by the #Israeli supporter here. What happened to the aid workers indeed? @MyLordBebo | Boost us! | X
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #205 · 22 јан.
Как работает функция reload()? Эта функция нужна для того, чтобы перезагрузить изменившийся код из py-файла без рестарта интерпретатора. Дело в том, что любой импортированный модуль при повторном импорте не будет перечитывать файл. Функция импорта вернёт уже загруженный в память объект модуля. Чтобы обновить код, нужно либо перезапустить всю программу, либо использовать функцию reload() from importlib import reload reload(my_module) 🔸 Функция reload() принимает в качестве аргумента только объект модуля или пакета. Она не может перезагрузить класс или функцию. Только весь файл целиком! 🔸 Перезагрузка пакета перезагрузит только его файл __init__.py, если он есть. Но не вложенные модули. 🔸Она не может перезагрузить ранее не импортированный модуль. 🔸При вызове функция reload() перечитывает и перекомпилирует код в файле, создавая новые объекты. После создания новых объектов перезаписывается ранее созданный неймспейс этого модуля. Это значит, что если где-то этот модуль импортирован через import и обращение к атрибутам происходит через неймспейс (имя) модуля, то такие атрибуты обновятся. Если какие-либо объекты из этого модуля импортированы через from то они будут ссылаться на старые объекты. Напишем простой модуль # mymodule.py x = 1 Теперь импортируем модуль и отдельно переменную х из модуля >>> import mymodule >>> from mymodule import x >>> print(mymodule.x) 1 >>> print(x) 1 Не перезапуская интерпретатор вносим изменения в модуль # mymodule.py x = 2 Делаем перезагрузку модуля и проверяем х ещё раз >>> reload(mymodule) >>> print(mymodule.x) 2 >>> print(x) 1 То же самое будет если присвоить любой объект переменной (даже словарь или список) Повторный импорт обновляет значение >>> from mymodule import x >>> print(x) 2 🔸Созданные инстансы классов не обновятся после перезагрузки модуля. Их придётся пересоздать. #tricks#basic
Пребарај: #israeli
@mib_messageinabottle · Post #6884 · 22.05.2024 г., 22:11
🇺🇳🇵🇸🇮🇱The amount of gaslighting and lies is pretty insane by the #Israeli supporter here. What happened to the aid workers indeed? @MyLordBebo | Boost us! | X
Hashtags
@addisstandardeng · Post #21453 · 19.02.2026 г., 12:12
News: #Israeli President Herzog to visit #Ethiopia next week Isaac Herzog is expected to make a one-day official visit to Ethiopia next week, according to Israeli officials, in a move seen as part of expanding diplomatic engagement between the two countries. According to The Times of Israel, Herzog’s visit will include meetings with senior Ethiopian leaders aimed at strengthening political, economic, and cultural cooperation. The trip follows earlier high-level exchanges, including a 2018 visit by former Israeli President Reuven Rivlin, who held talks with Prime Minister Abiy Ahmed and other officials. More recently, Israeli Foreign Minister Gideon Sa’ar visited Addis Abeba in May 2025, meeting Ethiopian Foreign Minister Gedion Timothewos to discuss cooperation in political, economic, and technological sectors. https://www.facebook.com/share/1HGfFwBj8i/
@EPInforma · Post #35850 · 17.08.2025 г., 12:26
🇮🇱🇺🇸🇬🇧🇪🇺 IMPUNIDAD GARANTIZADA A ISRAEL POR EEUU, REINO UNIDO Y EUROPA El ejército israelí bombardeó a 3 civiles palestinos que estaban rescatando a otro civil herido en el barrio Al-Shujaiya, al este de Gaza. El régimen israelí ni siquiera esconde que extermina civiles desarmados a plena luz del día. #israel#israeli Vía 📱susanagiacaman Síguenos t.me/Epinforma🔁 comparte
@Marwa_OsmanLB · Post #3819 · 27.12.2024 г., 13:20
#Israeli forces entered Wadi al Hujayr, a valley in South #Lebanon, which they couldn’t reach during the war. Wadi Al Hujayr witnessed important battles in the #2006 war.
@HAMASW · Post #8497 · 18.04.2024 г., 16:10
⁉️‼️Israel continues to steal! The occupying #Israeli Defense Ministry announced that they transferred 29,000,000 shekels seized during operations in #Gaza to the Israeli Treasury.
@PeoplesPress · Post #2295 · 16.03.2024 г., 13:29
💔🇵🇸A little girl in the #Gaza Strip describing the #Israeli war and how it changed her life. "I was beautiful but the war made me ugly" @The Children of Gaza
@Marwa_OsmanLB · Post #3981 · 08.02.2025 г., 13:59
Despite a ceasefire being in place, #Israel didn’t hold back from air striking Lebanon under the guise of “self-defense” and “removing threats”, breaching the ceasefire and continuing its aggression on #Lebanon. Israel attacked Lebanon 855 times during the truce period, killing 43 civilians. Israel also launched 81 ground incursions, 25 artillery bombings, 38 shootings, 37 abductions, 14 raids on houses, and destroyed 3 vehicles. Israel took advantage of the withdrawal period to demolish Lebanese villages. The #Israeli Army performed 282 detonation and bulldozing operations in 38 different villages. Naqoura was 90% destroyed by the end of the withdrawal period.
@addisstandardeng · Post #22062 · 20.04.2026 г., 05:26
#IDF confirms authenticity of photo showing #Israeli soldier smashing Jesus statue with sledgehammer, pledges investigation after widespread outrage Addis Abeba- The Israeli military says it is investigating an incident involving one of its soldiers after a photo surfaced showing an Israeli soldier smashing a fallen statue of Jesus Christ in the head with a sledgehammer in southern Lebanon. The photo has triggered widespread outrage and condemnation among Christians around the world since it appeared on social media on Sunday 19 April 2026. According to The Times of Israel, the Israel Defense Forces (IDF) confirmed that the photograph depicts one of its soldiers using a sledgehammer to smash the statue while operating in southern Lebanon. Israel’s weeks long military attack in southern Lebanon has flattened entire areas, killing more than 2000 civilians and displacing hundreds of thousands. https://www.facebook.com/share/1AQbRbwxRM/?mibextid=wwXIfr
@Marwa_OsmanLB · Post #3898 · 21.01.2025 г., 12:59
As #Palestinian hostages and #Israeli captives go back to their homes, the difference in treatment and conditions becomes visible for the public eye.
Hashtags
@Marwa_OsmanLB · Post #3067 · 19.08.2024 г., 16:35
🇮🇱🇵🇸Horrific scenes emerging from Al-Shati refugee camp in northern #Gaza Strip shows the bodies of #Palestinian civilians slaughtered by an #Israeli occupation bombing. @MostMoralArmy
Hashtags
@Marwa_OsmanLB · Post #3478 · 17.10.2024 г., 09:28
A short SITREP shows the #Israeli infiltrations inside #Lebanon, all of which are facing heavy and successful #attacks.
@Marwa_OsmanLB · Post #3803 · 22.12.2024 г., 10:58
A group of #Israeli soldiers shot a young Syrian man dead, in a first-of-its-kind incident following Israel’s invasion of Southern #Syria. The incident took place in the #Syrian village of Ma’araya, located outside of the Israeli-Syrian buffer zone. The soldiers shot at the man during a protest against the #Israeli presence held by citizens of the village.