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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #418 · 9 мар.

Оператор pipe позволяет писать более компактный код, реализуя логику объединения данных (Union). Важно помнить, что его поведение зависит от контекста. Побитовые операции (логическое OR) result = 5 | 3 # 5 (0101) | 3 (0011) = 7 (0111) Самое главное - не путать с оператором or, это другое! Объединение множеств set_a = {1, 2, 3} set_b = {3, 4, 5} set_c = set_a | set_b # {1, 2, 3, 4, 5} set_c |= {5, 6} # {1, 2, 3, 4, 5, 6} Слияние словарей dict_1 = {"a": 1, "b": 2} dict_2 = {"b": 3, "c": 4} merged = dict_1 | dict_2 # {'a': 1, 'b': 3, 'c': 4} merged |= {"d": 5} # {'a': 1, 'b': 3, 'c': 4, 'd': 5} Аннотации типов, заменяет Union def process_data(value: int | str) -> None: print(value) Допустимо использовать в isinstance или issubclass isinstance(3, int | float) # True Паттерн-матчинг status_code = 404 match status_code: case 200 | 201 | 204: print("OK") case 400 | 404 | 500: print("ERROR") Для использования в своих классах требуется переопределить метод __or__ Так же нашел библиотеку pipe которая добавляет еще много возможностей. Рекомендую ознакомиться ;) #basic

Hashtags

Резултати

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

Пребарај: #stx

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

@CoinSonar · Post #244139 · 18.04.2026 г., 11:11

#STX | Volume spike (USDT PAIR) 29 times the average volume 109.22K USDT traded in 5 min └Selling vol: 76.58K USDT 🔴 Boost score: 1/10 24h Vol: 1.08M USDT (Binance) Price: 0.2332 (-2.7% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243737 · 17.04.2026 г., 15:21

#STX | Volume spike (USDT PAIR) 219 times the average volume 164.27K USDT traded in 1 min └Buying vol: 115.95K USDT 🟢 Boost score: 6/10 24h Vol: 1.08M USDT (Binance) Price: 0.2469 (-2.7% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243627 · 17.04.2026 г., 12:00

#STX | Volume spike (USDT PAIR) 29 times the average volume 108.55K USDT traded in 5 min └Buying vol: 67.85K USDT 🟢 Boost score: 4/10 24h Vol: 1.08M USDT (Binance) Price: 0.2421 (-2.7% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243500 · 17.04.2026 г., 07:26

#STX | Volume spike (USDT PAIR) 11 times the average volume 129.25K USDT traded in 15 min └Buying vol: 80.72K USDT 🟢 Boost score: 4/10 24h Vol: 1.08M USDT (Binance) Price: 0.2412 (-2.7% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243302 · 16.04.2026 г., 20:02

#STX | Volume spike (USDT PAIR) 32 times the average volume 121.23K USDT traded in 5 min └Buying vol: 66.12K USDT 🟢 Boost score: 4/10 24h Vol: 1.08M USDT (Binance) Price: 0.2479 (-2.7% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28484 · 20.02.2025 г., 13:20

#STX/USDT Analysis : #STX has bounced back from a key support zone and is likely to move up towards the swing high levels. For a long entry, it's advisable to wait for a price retracement to get a better entry point. TF : 4H Entry : $0.910 Target : $1.010 SL : $0.842

Hashtags

Pro Analysis

@proanalysistrader · Post #28428 · 27.01.2025 г., 13:48

#STX/USDT analysis : #STX is currently in a downtrend, trading below the 200 EMA and consistently making new lows. The price has broken below the previous support zone and has formed a lower low. It is recommended to wait for a retest of this support zone for a potential short entry, as further price declines are anticipated, targeting lower levels. TF : 4h Entry : $1.347 Target : $1.056 SL : $1.536

Hashtags

Pro Analysis

@proanalysistrader · Post #27864 · 22.08.2024 г., 05:37

#STX/USDT analysis : #STX has formed a rejection candle over the support zone and bounced off from there, expected to continue its bullish momentum to test previous highs. TF : 1W Entry : $1.609 Target : $2.792 SL : $1.045

Hashtags

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