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

Резултати

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

Пребарај: #atom

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

@CoinSonar · Post #243622 · 17.04.2026 г., 11:40

#ATOM | Volume spike (USDT PAIR) 9 times the average volume 245.89K USDT traded in 15 min └Buying vol: 173.79K USDT 🟢 Boost score: 4/10 24h Vol: 2.44M USDT (Binance) Price: 1.824 (-4.0% in 24h)

Hashtags

Crypto Headlines

@market_headlines · Post #28169 · 03.04.2026 г., 09:16

🔠#ATOM Leap Wallet, криптокошелек экосистемы Cosmos, прекратит свою работу 28 мая 2026 года – анонс Ранее: DMAIL Network Crypto Headlines

Hashtags

Pro Analysis

@proanalysistrader · Post #27848 · 17.08.2024 г., 11:16

#ATOM/USDT analysis : #ATOM is currently moving up while finding support over the trendline. It has also broken out above the 200 EMA on the lower timeframes. The price is expected to continue its momentum and test previous highs. TF : 15min Entry : $4.613 Target : $4.675 SL : $4.567

Hashtags

Pro Analysis

@proanalysistrader · Post #27692 · 22.06.2024 г., 05:03

#ATOM/USDT analysis - #ATOM is in a downtrend, making new lows while trading below the 200 EMA. The price is currently rejecting from the resistance zone and expected to decline from there, continuing its bearish momentum. Aim for the previous swing low as the target level. TF : 1h Entry : $6.758 Target : $6.216 SL : $7.131

Hashtags

American Crypto©

@americancryptotrading · Post #27610 · 05.05.2026 г., 09:17

🇺🇸#ATOM/USDT is consolidating above the lowerboundary of the descendingchannel pattern on the weekly timeframe👀 Market recovery is underway🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27550 · 02.03.2026 г., 11:04

🇺🇸#ATOM/USDT has found support at the lowerborder of the descendingchannel pattern on the weekly chart👨‍💻 Looks bullish🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27500 · 12.01.2026 г., 10:22

🇺🇸#ATOM/USDT has bounced from the support at the lowerboundary of the descendingchannel on the weekly chart🔍 Accumulate here✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27394 · 02.10.2025 г., 09:05

🇺🇸#ATOM/USDT is facing the supportzone on the weekly chart🔍 Further upside possible after bounce🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27328 · 31.07.2025 г., 10:20

🇺🇸#ATOM/USDT is testing the supportzone on the weekly chart🧐 Looking for a bounce and rally🐃 American Crypto©

Hashtags

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