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

Резултати

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

Пребарај: #bch

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

@CoinSonar · Post #243359 · 16.04.2026 г., 23:33

#BCH | Volume spike (USDT PAIR) 62 times the average volume 298.52K USDT traded in 1 min └Buying vol: 217.59K USDT 🟢 Boost score: 6/10 24h Vol: 6.91M USDT (Binance) Price: 455.2 (-1.8% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27574 · 31.03.2026 г., 09:39

🇺🇸#BCH/USDT is about to break through the ascendingtriangle on the 2W timeframe👀 Bullish📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27492 · 05.01.2026 г., 09:52

🇺🇸#BCH/USDT is currently trading above the symmetrical triangle formation on the 2W timeframe👨‍💻 Looking for a rise🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27446 · 22.11.2025 г., 16:18

🇺🇸#BCH Bitcoin Cash is pressing against the upper boundary of the macro ascending channel on the weekly timeframe 📈 Price continues to build higher lows while grinding toward resistance — a classic sign of strength inside a rising structure. Once BCH breaks through the channel top, momentum can accelerate sharply, opening the door for a major continuation move 🚀 The chart is bullish — BCH is preparing for the next expansion leg. American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27403 · 11.10.2025 г., 10:40

🇺🇸#BCH/USDT is consolidating above the symmetricaltriangle pattern on the weekly chart💁‍♂️ The bullish outlook remains intact🚀 American Crypto©

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26960 · 22.02.2026 г., 09:58

🔰#BCH Update - Price is pushing higher after the recent bounce. Keeping a close watch on $603, which remains a key upside target on this leg up, as it aligns with the yearly open — a significant level that often acts as strong resistance.

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26416 · 24.11.2025 г., 12:01

✅✅ 30% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26415 · 24.11.2025 г., 08:40

✅✅ 38% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

123•••67
ПретходнаСтраница 1 од 7Следна