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

Резултати

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

Пребарај: #ens

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

@CoinSonar · Post #243334 · 16.04.2026 г., 21:49

#ENS | Volume spike (USDT PAIR) 12 times the average volume 129.53K USDT traded in 15 min └Selling vol: 113.21K USDT 🔴 Boost score: 1/10 24h Vol: 981.00K USDT (Binance) Price: 6.17 (-3.3% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243271 · 16.04.2026 г., 18:53

#ENS | Volume spike (USDT PAIR) 167 times the average volume 114.35K USDT traded in 1 min └Selling vol: 57.63K USDT 🔴 Boost score: 1/10 24h Vol: 981.00K USDT (Binance) Price: 6.17 (-3.3% in 24h)

Hashtags

CryptoBull_360™

@cryptobull_360 · Post #48363 · 15.02.2026 г., 13:55

#ENS is rebounding from the support trendline of the descending channel, with the Ichimoku Cloud acting as a resistance barrier. A decisive breakout above both the channel and the cloud would confirm bullish momentum.

Hashtags

Pro Analysis

@proanalysistrader · Post #28383 · 12.01.2025 г., 05:38

#ENS/USDT analysis : #ENS is currently in an uptrend, consistently reaching new highs while trading above the 200 EMA. The price is now retracing towards the 200 EMA and a significant support level. It is expected that the price will test this zone and rebound, which should support the continuation of bullish momentum and will lead to a retest of previous highs. TF : 1D Entry : $30.35 Target : $47 SL : $23.38

Hashtags

Pro Analysis

@proanalysistrader · Post #28309 · 04.12.2024 г., 11:33

#ENS/USDT analysis : #ENS is currently in an uptrend, trading above the 200 EMA. The price has recently bounced back from the 200 EMA, suggesting a continuation of its bullish momentum and potential testing of higher levels. For a long entry, it is advisable to wait for a retracement to optimize the entry point. TF : 30min Entry : $43 Target : $48 SL : $38

Hashtags

American Crypto©

@americancryptotrading · Post #27516 · 27.01.2026 г., 10:59

🇺🇸#ENS/USDT is holding above the supportzone on the 3D chart🧐 Recovery phase is starting🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27234 · 30.04.2025 г., 10:25

🇺🇸#ENS/USDT is challenging the upperborder of the broadeningwedge on the daily chart🧐 Looking for a breakout🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27103 · 31.12.2024 г., 13:08

🇺🇸#ENS/USDT is retesting the s/rzone on the weekly timeframe👨‍💻 To the moon after bounce🚀 American Crypto©

Hashtags

ПретходнаСтраница 1 од 3Следна