@chigua_a · Post #272789 · 26.04.2026 г., 14:00
#Lisa 妹妹甜甜的~外黑内粉~,果然名字没起错~好骚~
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
Пребарај: #lisa
@chigua_a · Post #272789 · 26.04.2026 г., 14:00
#Lisa 妹妹甜甜的~外黑内粉~,果然名字没起错~好骚~
Hashtags
@MV_Kpop · Post #6563 · 28.02.2025 г., 01:19
LISA - ROCKSTAR • 1080P HD #Lisa@MV_Kpop
Hashtags
@MV_Kpop · Post #6562 · 14.09.2021 г., 03:13
LISA - LALISA • 1080P HD #Lisa@MV_Kpop
Hashtags
@cg12307 · Post #3445 · 30.11.2025 г., 02:12
#lisa 难怪有钱人喜欢,这风骚劲!
Hashtags
@MEXC_FairPrice_Spreads · Post #1252 · 08.02.2026 г., 02:27
#LISA | 10.56% | LONG🟢 Last Price: 0.00559 Fair Price: 0.00625 Max Leverage: 20x Max Size: 39.13$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1246 · 07.02.2026 г., 09:35
#LISA | 10.40% | SHORT🔴 Last Price: 0.0069 Fair Price: 0.00625 Max Leverage: 20x Max Size: 48.30$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1226 · 06.02.2026 г., 09:43
#LISA | 11.82% | SHORT🔴 Last Price: 0.00776 Fair Price: 0.00694 Max Leverage: 20x Max Size: 54.32$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1222 · 06.02.2026 г., 03:32
#LISA | 16.18% | SHORT🔴 Last Price: 0.0084 Fair Price: 0.00723 Max Leverage: 20x Max Size: 58.80$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1208 · 05.02.2026 г., 21:10
#LISA | 18.99% | SHORT🔴 Last Price: 0.00777 Fair Price: 0.00653 Max Leverage: 20x Max Size: 54.39$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1188 · 05.02.2026 г., 17:21
#LISA | 10.76% | SHORT🔴 Last Price: 0.00803 Fair Price: 0.00725 Max Leverage: 20x Max Size: 56.21$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1182 · 05.02.2026 г., 12:25
#LISA | 10.36% | SHORT🔴 Last Price: 0.00916 Fair Price: 0.0083 Max Leverage: 20x Max Size: 64.12$ MEXC Fair Price Spreads
Hashtags
@MEXC_FairPrice_Spreads · Post #1178 · 05.02.2026 г., 12:17
#LISA | 11.92% | SHORT🔴 Last Price: 0.0092 Fair Price: 0.00822 Max Leverage: 20x Max Size: 64.40$ MEXC Fair Price Spreads
Hashtags