@gazaalanpa · Post #20644 · 31.03.2026 г., 16:20
"And never think that Allah is unaware of what the wrongdoers do…" #Prisoners
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
Пребарај: #prisoners
@gazaalanpa · Post #20644 · 31.03.2026 г., 16:20
"And never think that Allah is unaware of what the wrongdoers do…" #Prisoners
Hashtags
@gazaalanpa · Post #20655 · 31.03.2026 г., 22:14
Palestinian journalist and activist Mustafa Ayyash spent years being a voice for Palestine and Gaza. Today, he needs our voices. He has been arrested in Austrian prisons, and since then, there has been no clear information about his safety or release. His social media accounts have been disabled, contributing to silencing his voice and limiting his impact. Demand his immediate release! #PrisonersExecutionLaw #Prisoners Freedom for Palestinian journalist and activist Mustafa Ayyash from Austrian prisons
Hashtags
@gazaalanpa · Post #20653 · 31.03.2026 г., 22:10
Palestinian journalist and activist Mustafa Ayyash spent years being a voice for Palestine and Gaza. Today, he needs our voices. He has been arrested in Austrian prisons, and since then, there has been no clear information about his safety or release. His social media accounts have been disabled, contributing to silencing his voice and limiting his impact. Demand his immediate release! #PrisonersExecutionLaw #Prisoners Freedom for Palestinian journalist and activist Mustafa Ayyash from Austrian prisons
Hashtags
@gazaalanpa · Post #20660 · 31.03.2026 г., 22:31
🚨 Freedom for Palestinian journalist Mustafa Ayyash 🚨 Austria is forcibly detaining Mustafa Ayyash since his arrest, without any judicial ruling, and has disabled his social media accounts to silence his voice. A Palestinian journalist, a voice for Gaza and Palestine, now needs our voices. 📢 We demand immediate disclosure of his safety and his immediate release! #Prisoners #FreedomForMustafaAyyash #ExecutionOfPalestinianPrisoners #PrisonersExecutionLaw
@gazaalanpa · Post #20690 · 01.04.2026 г., 07:12
O Allah, grant relief to all Muslim prisoners and restore their freedom and safety swiftly, not delayed. #Prisoners #FreedomForMustafaAyash #ExecutionOfPalestinianPrisoners #ExecutionOfPrisoners #FreeMustafaAyash #FreedomForMustafaAyashFromAustrianPrisons
@gazaalanpa · Post #20663 · 31.03.2026 г., 22:42
O Allah, grant relief to all Muslim prisoners, and restore to them freedom and safety without delay. #Prisoners #FreedomForMustafaAyyash #ExecutionOfPalestinianPrisoners #PrisonersExecutionLaw #freemustafaayash #FreedomForMustafaAyyashFromAustrianPrisons #ExecutionLaw
@gazaalanpa · Post #20691 · 01.04.2026 г., 07:18
Be Daraa, protecting the prisoners and those released. #PrisonersAndReleasedFriday #PrisonersAreARedLine #WeWillOpenOurAlAqsa #SaveThePrisoners #Prisoners #FreedomForMustafaAyash #ExecutionOfPalestinianPrisoners #ExecutionOfPrisoners #FreeMustafaAyash #FreedomForMustafaAyashFromAustrianPrisons