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

Резултати

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

Пребарај: #ata

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

@CoinSonar · Post #244055 · 18.04.2026 г., 07:57

#ATA | Volume spike (USDT PAIR) 509 times the average volume 208.43K USDT traded in 15 min └Buying vol: 120.23K USDT 🟢 Boost score: 1/10 24h Vol: 39.30K USDT (Binance) Price: 0.0119 (-3.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244001 · 18.04.2026 г., 05:56

#ATA | Volume spike (USDT PAIR) 790 times the average volume 107.88K USDT traded in 5 min └Buying vol: 86.67K USDT 🟢 Boost score: 6/10 24h Vol: 39.30K USDT (Binance) Price: 0.0119 (-3.0% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #27972 · 29.09.2024 г., 12:39

#ATA/USDT analysis : #ATA is currently finding support above the 200-period exponential moving average (200 EMA) within the support zone. The price is anticipated to test this zone and maintain its bullish momentum to reach the previous swing high. TF : 4h Entry : $0.0900 Target : $0.0983 SL : $0.0850

Hashtags

American Crypto©

@americancryptotrading · Post #27544 · 24.02.2026 г., 09:49

🇺🇸#ATA/USDT is consolidating near the lowerborder of the descendingchannel formation on the weekly timeframe🔍 Market recovery is underway🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27077 · 08.12.2024 г., 17:57

🇺🇸#ATA/USDT is forming a descendingchannel on the weekly timeframe💁‍♂️ Send it if we do breakout🚀 American Crypto©

Hashtags

We want you

@we_want_youu · Post #4196 · 14.08.2024 г., 05:54

Currently, #ATAUSDT is compressed within a falling wedge pattern, a classic bullish reversal signal. Should #ATA fail to bounce back from the $0.0820-$0.0700 support, our eyes will be on the next critical level at $0.0580. Historically, this level has been a stronghold, and the probability of a rebound here is notably higher. But if $ATA breaks below these key support levels, the bears might take control, potentially leading to a bearish continuation.

Hashtags

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