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

Резултати

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

Пребарај: #rose

当前筛选 #rose清除筛选
Coin Sonar

@CoinSonar · Post #244116 · 18.04.2026 г., 10:13

#ROSE | Volume spike (USDT PAIR) 12 times the average volume 134.03K USDT traded in 15 min └Buying vol: 92.71K USDT 🟢 Boost score: 6/10 24h Vol: 1.00M USDT (Binance) Price: 0.01165 (-3.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243288 · 16.04.2026 г., 19:20

#ROSE | Volume spike (USDT PAIR) 12 times the average volume 128.32K USDT traded in 15 min └Selling vol: 72.82K USDT 🔴 Boost score: 1/10 24h Vol: 1.00M USDT (Binance) Price: 0.01194 (-3.4% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #27946 · 20.09.2024 г., 15:39

#ROSE/USDT analysis : #ROSE is in an uptrend, forming higher highs and higher lows above the 200ema. The price is expected to sustain its bullish momentum and test new highs. Wait for a price retracement over the support zone for a long entry. TF : 2h Entry : $0.0606 Target : $0.0696 SL : $0.0561

Hashtags

American Crypto©

@americancryptotrading · Post #27315 · 18.07.2025 г., 08:02

🇺🇸#ROSE/USDT is breaking the descendingresistance on the daily chart🧐 Looks bullish✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27067 · 29.11.2024 г., 19:31

🇺🇸#ROSE/USDT completes descendingchannel breakout on the 2D timeframe💁‍♂️ Bullish✈️ American Crypto©

Hashtags

Coinlegs Cryptocurrency Signals

@coinlegs · Post #10038 · 01.03.2024 г., 15:31

#ROSE +%33 in just 5 days 🤑🤑 Legs Trading Hub VIP members are just enjoying their profits 🍹 We are crafting our signals by the power of CoinLegs algorithms. Why don't you chime in and say hello? ⤵️ https://discord.com/invite/8RKtAA9cxZ

Hashtags

123•••10•••1314
ПретходнаСтраница 1 од 14Следна