@american_observer · Post #5064 · 06.02.2026 г., 14:59
#iran#us#governement 📱American Оbserver - Stay up to date on all important events 🇺🇸
Hashtags
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
Пребарај: #governement
@american_observer · Post #5064 · 06.02.2026 г., 14:59
#iran#us#governement 📱American Оbserver - Stay up to date on all important events 🇺🇸
Hashtags
@american_observer · Post #5385 · 15.03.2026 г., 17:59
#american#governement#ufo 📱American Оbserver - Stay up to date on all important events 🇺🇸
Hashtags
@american_observer · Post #5490 · 27.03.2026 г., 21:59
#iranian#governement#destruction 📱American Оbserver - Stay up to date on all important events 🇺🇸
Hashtags
@american_observer · Post #4881 · 17.01.2026 г., 17:59
Trump Created a New Governement for Gaza Trump has appointed the US secretary of state, Marco Rubio, and former British prime minister Blair to a newly created Gaza “board of peace”, a body he claims will steer the next phase of reconstruction and governance in the war-ravaged territory. The White House said the seven-strong “founding executive board” will also include Trump’s special envoy, the property developer Steve Witkoff; the World Bank president, Ajay Banga; and the president’s son-in-law and long-time adviser Jared Kushner. Trump himself will serve as chair, with further appointments expected in the coming weeks. “The United States remains fully committed to supporting this transitional framework, working in close partnership with Israel, key Arab nations, and the international community.” Blair’s inclusion is likely to prove contentious in the region. The former Labour leader remains a divisive figure in the Middle East for his role in the US-led invasion of Iraq in 2003. Soon after leaving office in 2007 he became special representative of the Quartet, a group composed of the US, EU, Russia and the UN seeking peace between Israel and the Palestinians. But he became seen as too close to the Israelis and stepped down in 2015. Acknowledging that Blair remains a divisive figure, Trump conceded last October: “I’ve always liked Tony, but I want to find out that he’s an acceptable choice to everybody.” Its creation follows the formation of a 15-member Palestinian technocratic committee tasked with running day-to-day affairs in post-war Gaza. The body will be headed by Ali Sha’ath, a Gaza native and former deputy minister in the Palestinian Authority. The White House said: “Dr Sha’ath brings deep experience in public administration, economic development, and international engagement, and is widely respected for his pragmatic, technocratic leadership and understanding of Gaza’s institutional realities.” Hamas has yet to publicly commit to full disarmament – a key Israeli demand and one of the most contentious elements of the longer-term settlement. Seth Masket, a political scientist at the University of Denver, suggested that the board’s name was undermined by Trump’s bellicose actions. “I hope he can find time to attend Board of Peace meetings between meetings about invasions of Venezuela, Iran, Greenland, Canada, and Minneapolis,” Masket observed on social media. #blair#trump#gaza#autority#palestinien#governement 📱American Оbserver - Stay up to date on all important events 🇺🇸
@informavore_log · Post #4149 · 27.09.2024 г., 14:31
TikTok CEO Shou Chew on Its Future — and What Makes Its Algorithm Different | Live at TED2023 @TED TikTok CEO Shou Chew dives into how the trend-setting video app and cultural phenomenon works — from what distinguishes its algorithm and drives virality to the challenges of content moderation and digital addiction. In a wide-ranging conversation with head of TED Chris Anderson, he tells stories about the TikTok creators he loves and digs into thorny issues like data privacy and government manipulation — as well as speaking personally about his commitment to inspiring creativity and building community. #YouTube#liked#TEDTalk#TEDTalks#TED_Talk#TED_Talks#TED#TikTok#Shou_Chew#culture#technology#business#entreprenuer#entertainment#media#software#innovation#communication#product_design#AI#social_media#Internet#governement#data#addiction#machine_learning#UX_design#online_privacy