@Marwa_OsmanLB · Post #4062 · 24.02.2025 г., 21:29
Over one million people bid farewell to the late Sayyed Hassan #Nasrallah, the leader of #Hezbollah, in a funeral procession attended by people worldwide.
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
Пребарај: #nasrallah
@Marwa_OsmanLB · Post #4062 · 24.02.2025 г., 21:29
Over one million people bid farewell to the late Sayyed Hassan #Nasrallah, the leader of #Hezbollah, in a funeral procession attended by people worldwide.
Hashtags
@libertaeragione · Post #4248 · 28.09.2024 г., 08:33
#Israele#Libano Capo di Stato Maggiore dell’#IDF: “La morte di Hassan #Nasrallah non è la fine delle nostre azioni. Il messaggio è semplice: chiunque minacci i cittadini dello Stato di Israele sapremo come raggiungerlo”. @OsservatorioEsteri
Hashtags
@rednile12 · Post #11265 · 15.03.2026 г., 14:14
OSINT leaks - Syrian Mossad spy taking refuge in Lebanon's Ukrainian embassy. A terrorist with Syrian, Ukrainian and Israeli citizenship. He helped in killing Hassan Nasrallah and other terrorist attack. Credits: Journalist Radwan Mortada @cKure #Lebanon#Nasrallah#Mossad#Ukraine#Hezbollah
@Marwa_OsmanLB · Post #4074 · 26.02.2025 г., 07:51
A historic funeral procession was held in Beirut on Sunday for late Hezbollah chiefs Hassan Nasrallah and Hashem Safieddine who were assassinated by Israel late last year. Although Israeli fighter jets flew twice at a low altitude over the hundreds of thousands crowded to mourn the Hezbollah chiefs, the masses stood unwavering chanting “Death to Israel.” #Nasrallah#NasrallahFuneral#Hezbollah#Lebanon#Israel
@Marwa_OsmanLB · Post #4053 · 24.02.2025 г., 21:29
A historic funeral procession was held in Beirut on Sunday for late Hezbollah chiefs Hassan Nasrallah and Hashem Safieddine who were assassinated by Israel late last year. Although Israeli fighter jets flew twice at a low altitude over the hundreds of thousands crowded to mourn the Hezbollah chiefs, the masses stood unwavering chanting “Death to Israel.” #Nasrallah#NasrallahFuneral#Hezbollah#Lebanon#Israel
@Marwa_OsmanLB · Post #3447 · 11.10.2024 г., 17:51
Journalist and geopolitical analyst Fiorella Isabel @FiorellaInMoscow tackles the latest Israeli war crimes in Gaza and Lebanon. She underlines that the assassination of Hezbollah Chief Hassan Nasrallah created more support for the Lebanese group, and that thousands of his likes will be created to fight Israel back. #Hezbollah#Nasrallah#Lebanon#Gaza#Palestine#Netanyahu#Israel
@WhiteHouseWatch · Post #18278 · 17.03.2026 г., 20:58
#Iran L’agenzia stampa Fars, conferma la notizia che il Segretario del Consiglio Supremo per la Sicurezza Nazionale Ali #Larijani sia morto a seguito dell’attacco israeliano. “Ali Larijani, Segretario del Consiglio Supremo per la Sicurezza Nazionale, è stato martirizzato. […] Le anime pure dei martiri hanno accolto l'anima pura di Abdul Saleh God, il martire Dr. Ali Larijani, che, dopo una vita di lotta per il progresso dell'Iran e della Rivoluzione Islamica, ha finalmente realizzato il suo desiderio di lunga data, ha risposto alla chiamata della verità e ha orgogliosamente raggiunto la grazia del martirio nelle trincee del servizio. Egli si unì all'Imam dei Martiri del Ramadan, il Comandante dei Credenti Ali (pace su di lui), e al leader della carovana del martirio e del jihad contro l'America e Israele, Sua Santità l'Ayatollah Seyyed Ali #Khamenei, al suo maestro martire, Sua Santità il Maestro Ayatollah Motahari, e ai suoi compagni martiri Seyyed Hassan #Nasrallah e Hajj Qassem #Soleimani”. @OsservatorioEsteri
@Marwa_OsmanLB · Post #3616 · 11.11.2024 г., 11:56
For the first time, Israeli Prime Minister Benjamin Netanyahu admitted in a cabinet meeting on Sunday that he stands behind several terrorist attacks against Lebanon such as the assassination of Hezbollah chief and the pagers and walkie-talkies attacks. #Hezbollah#Nasrallah#Pagers#UnitedStates#Israel#Netanyahu
@Marwa_OsmanLB · Post #3129 · 25.08.2024 г., 21:05
#Hezbollah Chief Sayyed Hassan #Nasrallah refuted Israeli claims about a preemptive strike ahead of “Operation Al-Arbaeen” in the #Israeli depth. He also set a condition of resuming the retaliation, which has to do with the enemy’s admitting of losses inflicted in first phase. #Lebanon#SouthLebanon#IsraeliArmy
@Marwa_OsmanLB · Post #3248 · 19.09.2024 г., 18:41
After terming the Israeli terrorist attack in Lebanon as a declaration of war, Hezbollah Chief Hassan Nasrallah vows a harsh and just punishment upon Israel. #Hezbollah#Lebanon#Nasrallah#Pagers#Israel#Mossad#Gaza#Palestine
@Marwa_OsmanLB · Post #3247 · 19.09.2024 г., 18:41
In the first remarks after the Israeli terrorist attack against Lebanon, Hezbollah Secretary General Hassan Nasrallah termed the aggression as a declaration of war from the Israeli side. #Hezbollah#Lebanon#Nasrallah#Pagers#Israel#Mossad#Gaza#Palestine
@Marwa_OsmanLB · Post #3122 · 25.08.2024 г., 13:46
Lebanese #Hezbollah military media releases video showing bases targeted in #Israel part of the First Phase of its response to the assassination of senior commander Fuad Shukr and killing of several civilians in #Beirut's southern suburbs on July 31. #Lebanon#SouthLebanon#Nasrallah#Gaza#Palestine#IsraeliArmy