@maybeapoet · Post #20473 · 08.07.2024 г., 19:24
| speacial thanks to shakh (كاتب ) #freepalestine
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
Пребарај: #freepalestine
@maybeapoet · Post #20473 · 08.07.2024 г., 19:24
| speacial thanks to shakh (كاتب ) #freepalestine
Hashtags
@filosofarsogood · Post #11934 · 08.10.2024 г., 05:15
È appena uscito un nuovo episodio! #FreePalestine from HAMAS: 7 ottobre, un anno dopo Ascoltalo cliccando su https://open.spotify.com/episode/3OtA2ThNguUfFUIXU3tkrL
Hashtags
@mehmetperincek · Post #6687 · 17.09.2025 г., 11:14
🇮🇹🇵🇸 Roma sokaklarında adım başı Filistin'le dayanışma mesajları görmek mümkün. #FreePalestine
Hashtags
@marwa_osmanlb · Post #5045 · 31.10.2025 г., 18:31
Bravery is when your bones remember freedom, even after generations of chains. Resist for Palestine. #FreePalestine
Hashtags
@Yulduz_Usmonova · Post #3631 · 08.01.2025 г., 19:26
#FreePalestine Yulduz Usmonova va Mansur Agaliev tomonidan Falastindan olib kelingan ayollar va bolalarga "Shohsaroy" uylaridan 2 ta kvartira sovg'a qilindi. @Yulduz_Usmonova @YulduzIbragimovnaUsmonova
Hashtags
@Marwa_OsmanLB · Post #3497 · 19.10.2024 г., 17:21
The baton he cast never touched the ground; before it could fall, it was seized by those prepared to continue the path towards Liberation. Palestine remains resilient and unwavering, ever-ready to nurture countless successors like Sinwar, ensuring the struggle endures. #FreePalestine
Hashtags
@Marwa_OsmanLB · Post #3483 · 18.10.2024 г., 03:41
Martyr Yehya Sinwar faced his final moments with unwavering defiance. Clad in his fatigues, even with his right arm severed, he mustered the strength to hurl a stick at the Israeli drone recording him, a gesture of defiance in the face of overwhelming odds. From the moment he initiated the Al Aqsa Flood, he had accepted his fate with unyielding resolve. This footage serves as a potent symbol, one that will undoubtedly fuel the momentum of the rising tide. #FreePalestine
Hashtags
@unicornriotninja · Post #3435 · 07.08.2025 г., 14:17
Denver, CO: #FreePalestine Sit-In Protests Zionist Ties at Center on Colfax - 2/2 [Twitter Archive, August 6, 2024]: https://unicornriot.ninja/2024/pro-palestine-anti-genocide-activists-rally-outside-denver-community-center-with-ties-to-israel/
Hashtags
@unicornriotninja · Post #3434 · 07.08.2025 г., 14:17
Denver, CO: #FreePalestine Sit-In Protests Zionist Ties at Center on Colfax - 1/2 [Twitter Archive, August 6, 2024]: https://unicornriot.ninja/2024/pro-palestine-anti-genocide-activists-rally-outside-denver-community-center-with-ties-to-israel/
Hashtags
@Marwa_OsmanLB · Post #3310 · 22.09.2024 г., 06:43
Keep your chins up, Imam Ali pbuh once said: " In wars, Sometimes we strike our enemy, and sometimes our enemy strikes us." Not all days will be good, but we yearn for just a few good days and InshAllah, victory will be ours. #FreePalestine
Hashtags
@Marwa_OsmanLB · Post #3202 · 13.09.2024 г., 20:23
📍Location: Meron Mountain, northern occupied Palestine. 🔻Hezbollah Rockets rain on illegal colonial settlers after Israel killed civilians in south Lebanon hours before. Result: You reap what you sow. This is what haopens to you when you are land thieves. Leave. Now. #FreePalestine
Hashtags
@ertaisfr · Post #1721 · 27.10.2023 г., 10:14
Мусульмандардын каны төгүлгөн үчүн адам укугу деп дүйнөдө кыйкыргандар унчукпай отурушат. Эртең 28-ноябрь саат 11:00 Бишкекте Горький паркында Палестина элин колдоо акциясы өтөт. Исанова менен Рыскулова кесилишинде. Акция учурунда гумжардам чогултулат. #freepalestine
Hashtags