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

Резултати

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

Пребарај: #jto

当前筛选 #jto清除筛选
CryptoBull_360™

@cryptobull_360 · Post #49671 · 05.05.2026 г., 12:53

🙋‍♂👀#JTO Fortune: Jito plans to launch a mobile trading app called JTX in July. The app will offer spot trading, with integrations with perpetual futures and prediction markets coming in the future.

Hashtags

American Crypto©

@americancryptotrading · Post #27265 · 30.05.2025 г., 09:43

🇺🇸#JTO/USDT is trading within the fallingwedge pattern on the daily chart💁‍♂️ Looking for a recovery after a breakout✈️ American Crypto©

Hashtags

Сигналы РЦБ Крипто

@usa100cks · Post #24960 · 23.02.2026 г., 11:51

#JTO Hanwha Asset Management договорилась с Jito о ликвидном стейкинге для ETP в Корее Южнокорейская Hanwha Asset Management объявила о партнерстве с Jito Foundation для проработки инфраструктуры под биржевые продукты (ETP) на базе JitoSOL. Фокус сотрудничества: интеграция JitoSOL в структуру ETP, кастодия в рамках регуляторных требований, риск-менеджмент и взаимодействие с регуляторами. Отдельно отмечается, что JitoSOL крупнейший LST в Solana, с оценкой порядка $1 млрд по капитализации.

Hashtags

Crypto

@signal_bitcoins · Post #2289 · 12.01.2024 г., 08:30

#JTO bounced from the Green zone and broken up the trendline on 4H Time frame,we are waiting for the next movement 📈 ❄️@signals_bitcoin_crypto❄️ ❄️@Shadow_support0o❄️

Hashtags

Haydar Sabiev | Crypto Investor

@haydarcrypto · Post #301 · 15.08.2024 г., 10:07

Opened a short #JTO The asset showed systematic growth along the resistance slope, but this was followed by pressure from sellers. We failed to test the upper boundary of the ascending triangle and we began to decline again, followed by a breakdown of the lower boundary. Also, the coin again went under the moving MA50 and MA200, which is typical for a weak buyer. I assume that the token will continue to decline and gain a foothold under the moving averages. Goals: $2.1601 - $2.0312 - $1.7708 Stop: $2.5798

Hashtags

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