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

Резултати

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

Пребарај: #rif

当前筛选 #rif清除筛选
Pro Analysis

@proanalysistrader · Post #28216 · 17.11.2024 г., 06:24

#RIF/USDT analysis : Following a significant decline of -83% from its all-time high, the price has found support at the $0.0600 level. Subsequently, it has bounced back and successfully broken above the trendline, indicating a confirmation of anticipated bullish momentum. It is expected that the price will continue this upward trajectory and test the previous swing high. TF : 1W Entry : $0.1117 Target : $0.3377 SL : $0.0766

Hashtags

Pro Analysis

@proanalysistrader · Post #27951 · 22.09.2024 г., 03:30

#RIF/USDT analysis : #RIF is trading above the support zone and the 200 EMA. The price is anticipated to rebound from this level and proceed to rise, testing the previous swing high. TF : 15min Entry : $0.0977 Target : $0.1007 SL : $0.0956

Hashtags

Alphavave Traders ️️️

@alphavave · Post #3256 · 21.04.2026 г., 00:34

#RIF yielded an impressive 3,010% return in a few days ⭐ If you used 200x leverage on this signal, you would've made a mind-blowing profit of 12,040%🤩 $50💰 would return $750💵 $50 💰 would return $1,500 💲 $50💰 would return $6,000💰 When you understand the market like we do, every move becomes predictable With 5+ years of trading experience, we spot these moves before they happen 💯 If you want daily signals like this, DM me to join our private group! 👇 @Kevindexter✅

Hashtags

Binance crypto champions

@binancecryptochampions · Post #3087 · 11.02.2026 г., 03:39

💎#RIF/USDT 💎 Signal Type: Regular (Long) Leverage: Cross (20.0x) Amount: 2.0% Entry Targets: 1) 0.04535 Take-Profit Targets: 1) 0.04635 2) 0.04800 3) 0.05065 Stop Targets: 1) 0.04250 🦋 Published by: @Trading_exp🦋 Join_vip: @Crypto_Futures_Spot_Payment_bot 🚫 Don't forget to Secure profit 🚫

Hashtags

Alex Kowalski | Trade

@kowalskitrade · Post #751 · 12.09.2024 г., 16:13

#RIF I'm expecting roughly this kind of movement on this asset, either with streaming start ups behind our magnets from above. 📈Sign up on Bybit to trade with me

Hashtags

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