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

Резултати

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

Пребарај: #wld

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

@CoinSonar · Post #243961 · 18.04.2026 г., 04:18

#WLD | Volume spike (USDT PAIR) 70 times the average volume 729.89K USDT traded in 1 min └Buying vol: 437.10K USDT 🟢 Boost score: 5/10 24h Vol: 14.92M USDT (Binance) Price: 0.2869 (-4.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243798 · 17.04.2026 г., 17:55

#WLD | Volume spike (USDT PAIR) 58 times the average volume 605.14K USDT traded in 1 min └Buying vol: 304.83K USDT 🟢 Boost score: 3/10 24h Vol: 14.92M USDT (Binance) Price: 0.2953 (-4.0% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243739 · 17.04.2026 г., 15:25

#WLD | Volume spike (USDT PAIR) 10 times the average volume 1.60M USDT traded in 15 min └Buying vol: 865.51K USDT 🟢 Boost score: 2/10 24h Vol: 14.92M USDT (Binance) Price: 0.3017 (-4.0% in 24h)

Hashtags

Crypto Headlines

@market_headlines · Post #28341 · 10.04.2026 г., 15:09

#wld 🧐 Ежедневная разблокировка WLD снижается. В World Network напоминают – с 24 июля темпы разблокировки токена WLD сократятся на ~43% (с ~5,1m до ~2,9m токенов в день). ➠ Токены сообщества: -50% (с 3,2m до 1,6m WLD/день). ➠ Токены команды и инвесторов: -32% (с 1,9m до 1,3m WLD/день). Разлок остается линейным (ежедневным), без «клиффов». На текущий момент разблокировано ~4,9b WLD (49% от максимальной эмиссии), из них ~3,3b уже в обращении. Crypto Headlines

Hashtags

American Crypto©

@americancryptotrading · Post #27598 · 24.04.2026 г., 08:59

🇺🇸#WLD/USDT is holding above the lowerborder of the fallingwedge on the 3D chart👨‍💻 Time to bounce and rally🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27531 · 11.02.2026 г., 10:51

🇺🇸#WLD/USDT has formed the descendingchannel on the weekly timeframe👀 A breakout will be huge✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27499 · 11.01.2026 г., 09:21

🇺🇸#WLD/USDT has found support at the midline of the descendingchannel formation on the weekly timeframe👨‍💻 A pump is expected✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27410 · 18.10.2025 г., 08:31

🇺🇸#WLD/USDT has printed the descendingchannel on the 3D chart👨‍💻 A bullish trend is unfolding📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27344 · 15.08.2025 г., 10:06

🇺🇸#WLD/USDT is maintaining its position above the lowerborder of the symmetricaltriangle formation on the daily timeframe👨‍💻 Recovery is on the way🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27260 · 25.05.2025 г., 09:33

🇺🇸#WLD/USDT is consolidating above the broken broadeningwedge pattern on the daily timeframe👀 Time to rise🚀 American Crypto©

Hashtags

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