TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #208 · 29 јан.

Ранее мы уже говорили о том, как выполнить какой-либо код перед открытием интерактивной консоли. Расскажу еще один способ! На самом деле, даже запустив интерпретатор в обычном режиме с выполнением скрипта из файла вы можете в любом месте активировать интерактивный режим. Или даже несколько по очереди. За это отвечает модуль code. Как это может пригодиться? 🔸 Вам не хватает pdb и хочется больше "власти" 🔸 Нужно запросить у юзера данные в достаточно сложном виде. В этом случае можно попросить его создать что ему надо и сохранить в определённую переменную, с которой потом и работать. 🔸 Нужна изолированная среда для выполнения каких-либо действий. 🔸 Просто забавы ради😁 Запускается консоль очень просто import code ic = code.InteractiveConsole() try: ic.interact() except SystemExit: pass Выход обратно на предыдущий уровень происходит как обычно, вызов функции exit() или клавиши Ctrl+D(Ctrl+Z для Windows). Я набросал простой пример с некоторым функционалом 🔹 Меняются символы приглашения 🔹 В неймспейсы добавляются дополнительные объекты 🔹 Считается время, проведённое в интерактивном режиме 🔹 Скрипт просит юзера заполнить переменную и по выходу распечатывает её значение Код здесь ↗️ Для запуска сохраните код в файл и запускайте как обычный скрипт. python my_console.py Для быстрого запуска можно сделать отдельный алиас alias py="python3 /home/username/my_console.py" #tricks#source

Резултати

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

Пребарај: #mdt

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

@CoinSonar · Post #243809 · 17.04.2026 г., 18:26

#MDT | Volume spike (USDT PAIR) 92 times the average volume 128.73K USDT traded in 15 min └Buying vol: 71.82K USDT 🟢 Boost score: 5/10 24h Vol: 133.93K USDT (Binance) Price: 0.00730 (-4.5% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28523 · 07.03.2025 г., 15:50

#MDT/USDT analysis : #MDT is currently in a downtrend making new lows. The bearish momentum is expected to continue, potentially leading to further declines. For a short entry, consider waiting for a test of the resistance level before initiating a short position. TF : 2H Entry : $0.02883 Target : $0.02495 SL : $0.03150

Hashtags

Pro Analysis

@proanalysistrader · Post #28421 · 26.01.2025 г., 11:18

#MDT/USDT analysis : #MDT is currently in a downtrend, consistently forming lower lows (LLs) and lower highs (LHs) below the 200 EMA. The price is anticipated to continue its bearish momentum and test lower levels. It is recommended to wait for a pullback for a short entry opportunity. TF : 4H Entry : $0.05060 Target : $0.04127 SL : $0.05536

Hashtags

Pro Analysis

@proanalysistrader · Post #28348 · 19.12.2024 г., 11:49

#MDT/USDT analysis : #MDT is currently in an uptrend, characterized by the formation of higher highs (HHs) and higher lows (HLs). The price has retraced to test the 200 EMA, successfully forming a higher low before bouncing back. Wait for a breakout of the trendline, as the price is anticipated to test the previous swing high. TF : 4H Entry : $0.06650 Target : $0.08500 SL : $0.05715

Hashtags

Pro Analysis

@proanalysistrader · Post #28302 · 02.12.2024 г., 15:50

#MDT/USDT analysis : #MDT is in an uptrend, forming higher highs (HHs) and higher lows (HLs) above the 200 EMA. The price has recently tested the support zone and has bounced back from that level. It is anticipated that the bullish momentum will continue, leading to a potential test of previous highs. TF : 2h Entry : $0.05624 Target : $0.06177 SL : $0.05297

Hashtags

Pro Analysis

@proanalysistrader · Post #28035 · 18.10.2024 г., 03:21

#MDT/USDT analysis : #MDT is currently retracing back to the 200 EMA while forming higher highs (HHs) and higher lows (HLs) in its structure. The price is bouncing back from the support zone and is expected to test the previous swing high. TF : 1D Entry : $0.04253 Target : $0.05229 SL : $0.03668

Hashtags

Pro Analysis

@proanalysistrader · Post #27844 · 16.08.2024 г., 04:30

#MDT/USDT analysis : Based on the current market analysis, #MDT is currently experiencing a downtrend, trading below the 200 EMA. Following a correction phase, the price has been rejected from the 200 EMA. The anticipated next move is for the downtrend to persist with an impulsive movement, potentially testing previous lows. TF : 4H Entry : $0.0364 Target : $0.0290 SL : $0.0405

Hashtags

Crypto

@signal_bitcoins · Post #2799 · 14.02.2024 г., 08:47

#MDT reached the ceiling of the trading range on 12H Time frame,we expect another bullish movement incoming..🚀 ❄️@signals_bitcoin_crypto❄️ ❄️@Shadow_support0o❄️

Hashtags

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