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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #183 · 23 ное.

Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux

Hashtags

Резултати

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

Пребарај: #rafah

当前筛选 #rafah清除筛选
Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #4204 · 04.04.2025 г., 12:56

#Rafah in south #Gaza before and after US made bombs paid by American tax payers were dropped by Zionist terrorists on Palestinian natives. YOU ARE ALL COMPLICIT IN THIS GENOCIDE.

Hashtags

People's Press

@PeoplesPress · Post #1754 · 12.02.2024 г., 10:31

“Why are they bombing us?? They told us this was a safe zone! They told us to come here, so why are they bombing us!?” Desperate Palestinian mother, who sought safety in Rafah, asks. #Rafah#GazaGenocide @PressTV

El Pueblo Informa

@EPInforma · Post #35490 · 12.06.2025 г., 16:16

Desde la Coordinadora por Palestina, adherimos a la convocatoria 🇨🇱CHILE CAMINA HACIA GAZA🇵🇸 Te invitamos a caminar en solidaridad con quienes, desde #Egipto, marcharán hacia Gaza desafiando el bloqueo, el silencio y la injusticia. Este sábado 14 de junio, a las 16:30 hrs, en la ciudad de Santiago, nos reuniremos en Metro Manuel Montt y caminaremos juntos hacia el Puente de los Candados, dejando nuestra huella de esperanza y compromiso. Miles de personas de todo el mundo cruzarán el desierto rumbo al cruce de #Rafah con el propósito de abrir un corredor humanitario de los pueblos. Una delegación chilena también estará allí, llevando nuestras voces, nuestras almas y nuestra bandera de resistencia. Desde #Chile lxs acompañaremos, haciendo eco de su valentía, porque no podemos mirar hacia otro lado mientras un pueblo entero resiste al borde del colapso. Ven con tu bandera, tu kuffiyeh, tu cartel, tu corazón. #Palestina quiere vivir. #Gaza no está sola. ¡Chile…

American Оbserver

@american_observer · Post #5028 · 02.02.2026 г., 18:00

Israel Has Reopened the Rafah Border The Rafah border crossing between Gaza and Egypt has been reopened by Israel for a limited number of people on foot, as fragile diplomatic efforts to stabilise the conflict inch forward. Israeli forces took control of the Rafah crossing – Gaza’s only crossing not shared with Israel – in May 2024, describing it as necessary to prevent weapons smuggling by Hamas. The move isolated the territory, cutting off a critical lifeline for Palestinians seeking access to medical care, travel and trade. Israel has made clear that all movement through the crossing will be subject to joint Israeli-Egyptian security screening and that, for now, only a small number of Gaza’s tens of thousands of wounded and ill Palestinians will be permitted to leave each day. According to an Egyptian official, speaking anonymously to the Associated Press, only 50 Palestinians will be permitted to cross in each direction on the first day of operations. Before the war, the Rafah crossing was Gaza’s sole window on to the outside world not controlled by Israel. Its reopening could ease access to medical care, allow limited travel abroad, and enable visits to family members in Egypt, where tens of thousands of Palestinians already live. Thousands of civilians have registered with the World Health Organization for medical evacuation. Gaza’s health ministry says at least 20,000 patients are waiting to leave. According to Médecins Sans Frontières more than one in five of them are children. The sick include more than 11,000 cancer patients. Israeli airstrikes on hospitals have reduced the Palestinian healthcare system to ruins. In March 2025, Israel destroyed Gaza’s only specialised cancer treatment hospital, the territory’s sole provider of oncology care. Since then, doctors have been pushed into makeshift clinics, operating with almost no resources, including the tools needed for diagnosis. According to health officials in Gaza, there are about 4,000 people with official referrals for treatment to third countries who are unable to cross the border. “I have appealed to humanitarian groups, to the WHO, to the Palestinian Authority – to anyone – so that I can leave, save my life, and reunite with my family,” Tamer al-Burai, 50, who has obstructive sleep apnoea and relies on a CPAP machine to breathe during sleep, told Reuters. For some, the reopening came too late. Dalia Abu Kashef, 28, died last week while waiting for permission to cross for a liver transplant. “We found a volunteer – her brother – who was ready to donate part of his liver,” her husband, Muatasem El-Rass, told Reuters. “We were waiting for the crossing to open so we could travel and do the surgery, hoping for a happy ending. But she deteriorated badly and died.” The WHO says 900 people, including children and cancer patients, have already died while awaiting evacuation. The limited reopening of the Rafah crossing also offers a rare opportunity for families torn apart by more than two years of war to reunite. Many families who fled to Cairo early in the war never expected to remain for so long. The reopening is seen as a key step as the US-brokered ceasefire agreement moves into its second phase. Its first phase called for the exchange of all hostages held in Gaza for hundreds of Palestinians held by Israel, an increase in badly needed humanitarian aid and a partial pullback of Israeli troops. #israel#reopened#rafah#border 📱American Оbserver - Stay up to date on all important events 🇺🇸

Freedom Flotilla Coalition

@FFC_official_channel · Post #704 · 26.07.2025 г., 08:31

⁨🎥⁩ ⁨Zahed Rahman served as a nurse on two medical missions to Gaza; in March 2024 at the Gaza European Hospital in Rafah, and in March 2025 at Shuhada al-Aqsa Hospital in Beir al-Balah. He offers us an eyewitness account of the impact of Israel's genocide, notably on children. From new weaponry designed to inflict maximum damage to civilians, to the deliberate and systematic targeting of youth and healthcare infrastructure, Israel's genocide is precisely aimed at preventing the continuity of Palestinian existence.⁩ #FreedomFlotilla#Gaza#BreakTheSiege#AllEyesOnGaza#AllEyesOnDeck#DirectAction#EndTheBlockade#BreakIsraelsSiege #GazaEuropeanHospital#ShuhadaAlAqsa#Rafah

American Оbserver

@american_observer · Post #5014 · 31.01.2026 г., 20:59

📰 These Gazans May Finally Get a Lifeline to the World The Rafah crossing between Gaza and Egypt is set to reopen in the coming days, giving sick and wounded Palestinians their first real chance in years to reach treatment outside the Strip. Mohammed al-Ser, 27, has been waiting months after a head injury left him partly paralyzed. Surgery reconstructed his skull, but he still can’t use his left arm and leg and needs further care abroad. He is one of roughly 20,000 patients identified by the Gaza Health Ministry as needing evacuation for specialized treatment that is simply not available in Gaza anymore. For most of the war, the Rafah crossing has been Gaza’s main lifeline — the only way for patients to reach hospitals in Egypt, Jordan, the Emirates, and further afield, under Israel’s tight coordination. But access has been a long-standing bottleneck. Patients need not only foreign medical coverage, but also Israeli security clearance, which often requires a lengthy approval process that has kept tens of thousands trapped. The World Health Organization says about 1,000 patients have been evacuated to third countries via Israel since Rafah was largely shut in March, but that’s a tiny fraction of those in need. Now, as the crossing is expected to open again under the ceasefire deal, Gaza’s hospitals are filled with families clutching little hope: an infant girl with a heart condition, a 12‑year‑old with liver failure, a man with a brain injury unable to breathe without a tube, and hundreds like them whose survival depends on exiting through Rafah. Israel’s COGAT says the crossing will open Sunday with only “limited movement of people,” and that Egyptian authorities will share lists which Israel will then approve or deny. ​ Gaza’s sick and wounded await their chance, their fate once again in the hands of the authorities who bombed their hospitals: Will they be among the lucky few who finally reach the world outside? #Gaza#Rafah#Ceasefire#MedicalCrisis#Israel#Hamas 📱American Оbserver - Stay up to date on all important events 🇺🇸

Libertà è ragione

@libertaeragione · Post #4181 · 24.05.2024 г., 13:32

#CIG#Israele#Gaza Presidente della Corte Internazionale di Giustizia Nawaf #Salam: “Il punto è che Israele deve fermare l'attività militare e qualsiasi altra attività a #Rafah che potrebbe causare danni. C’è il serio pericolo che la situazione giuridica tutelata nella causa intentata dal #Sudafrica sia pregiudicata in attesa della sentenza del tribunale”. @OsservatorioEsteri

American Оbserver

@american_observer · Post #4961 · 25.01.2026 г., 21:59

📰 US Envoys Tell Netanyahu: Gaza Ceasefire Must Move to Phase Two Top U.S. envoys, including Trump’s special negotiator Steve Witkoff and Jared Kushner, met Israeli Prime Minister Benjamin Netanyahu in Cairo Friday evening, pressing him to move the Trump‑brokered Gaza ceasefire into its much‑delayed second phase. The U.S. wants demilitarization, withdrawal of Israeli forces, and the opening of the Rafah crossing to begin in earnest; Netanyahu, meanwhile, is holding back, demanding that Hamas first return the body of the last remaining hostage, Ran Gvili. ​ What Is the “Second Phase”? The clear signal that the ceasefire is advancing isn’t some vague diplomatic formula: it’s the Rafah border crossing between Gaza and Egypt. If the crossing is reopened in both directions, allowing Palestinians to travel and the sick to be evacuated, then the international community will treat it as the real start of the next stage. The proposed technocratic government for Gaza, led by Ali Shaath, says Rafah will open in both directions within days; for now, Israel has not confirmed when or how that will happen, only that it will be discussed in a cabinet meeting. The U.S. and Egypt both see this move not just as a security step, but as the “critical entry point” for launching Gaza’s reconstruction. ​ The Hostage Stalemate The U.S. is pushing Netanyahu to keep the ceasefire deal moving, but the prime minister is under intense pressure at home: if he moves to phase two before Hamas returns Gvili’s body, he risks being accused of abandoning the last hostage. The Gvili family has launched a furious public campaign, reminding the world that Trump himself told Davos that Hamas knows exactly where their son is being held. They call Hamas’s refusal to hand over the remains a clear violation of the ceasefire agreement [Business Standard:56]. ​ Hamas insists it has provided all the information it possesses and accuses Israel of blocking search efforts in areas under its control. The deadlock feeds the cynicism: each side blames the other for stalling the deal, while the U.S. envoys scramble to keep the illusion of a working mediation alive. ​ The International Machinery Kicks In The U.S. is now treating the Gaza ceasefire as a formal international undertaking, not just a bilateral deal. Egypt’s foreign minister, Bader Abdelatty, has been in close coordination with Nickolay Mladenov, the Bulgarian diplomat leading Trump’s Gaza “Board of Peace,” to coordinate the next phase. Their agenda includes the international monitoring force, Rafah, and the pullback of Israeli troops, in the hope that collective pressure will keep the fragile truce on track. ​ The Muddy Reality on the Ground Even as diplomats talk about phases, the killing continues. In the “safe zones” near the so‑called Yellow Line, Israeli strikes are still killing Palestinian civilians, including two teenage cousins, 13 and 15, who were picking up firewood in areas Israel declared safe. Since the ceasefire officially began on October 10, more than 480 Palestinians have been killed by Israeli fire, according to Gaza's Health Ministry. Hundreds of thousands live in tents or half‑ruined buildings, exposed to the cold and winter storms, while the international “New Gaza” project floats somewhere between a PR stunt and a distant blueprint for reconstruction. The U.S. wants to move to the next phase, but the real question is: when the guns stop, what kind of Gaza is being built — and who exactly benefits from the deal? ​ #Gaza#Ceasefire#Netanyahu#Trump#GazaWar#USMediation#Rafah 📱American Оbserver - Stay up to date on all important events 🇺🇸

MessageInABottle

@mib_messageinabottle · Post #6984 · 27.05.2024 г., 14:17

💔🇵🇸#The#Rafah#Holocaust Horrific scenes is unfolding of the massacre committed by the criminal #Israeli occupation army with 8 missiles targeting displaced people in the vicinity of the #UNRWA agency's headquarters, northwest of Rafah, southern #Gaza First footage depicts the moment when #Israeli occupation aircraft dropped missiles at displaced Palestinians' barracks belonging to the #UNRWA site in the Tal Al-Sultan area of Rafah City, killing more than 50 displaced civilians, including innocent children. A child's head and legs were decapitated due to #Israeli missiles dropped on a displacement center in Rafah, where entire families were completely wiped out in this massacre, with women, children, and the elderly burned to death. Civil Defense to Al Jazeera: "We believe that the occupation army used internationally prohibited weapons to target the displaced in Rafah, judging by the size of the fires that erupted at the targeted site." @The Children of Gaza

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