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

Резултати

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

Пребарај: #bome

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

@CoinSonar · Post #244181 · 18.04.2026 г., 12:41

#BOME | Volume spike (USDT PAIR) 23 times the average volume 130.62K USDT traded in 15 min └Selling vol: 78.31K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000495 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #244097 · 18.04.2026 г., 09:24

#BOME | Volume spike (USDT PAIR) 23 times the average volume 128.69K USDT traded in 15 min └Selling vol: 82.08K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000528 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243753 · 17.04.2026 г., 15:43

#BOME | Volume spike (USDT PAIR) 26 times the average volume 145.96K USDT traded in 15 min └Buying vol: 78.95K USDT 🟢 Boost score: 3/10 24h Vol: 525.99K USDT (Binance) Price: 0.000541 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243695 · 17.04.2026 г., 13:42

#BOME | Volume spike (USDT PAIR) 23 times the average volume 128.46K USDT traded in 15 min └Selling vol: 70.51K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000551 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243400 · 17.04.2026 г., 01:28

#BOME | Volume spike (USDT PAIR) 44 times the average volume 243.33K USDT traded in 15 min └Buying vol: 125.38K USDT 🟢 Boost score: 2/10 24h Vol: 525.99K USDT (Binance) Price: 0.000563 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243358 · 16.04.2026 г., 23:28

#BOME | Volume spike (USDT PAIR) 24 times the average volume 133.72K USDT traded in 15 min └Selling vol: 68.65K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000563 (-5.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243314 · 16.04.2026 г., 20:28

#BOME | Volume spike (USDT PAIR) 78 times the average volume 429.45K USDT traded in 15 min └Selling vol: 252.64K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000573 (-5.4% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27545 · 25.02.2026 г., 09:23

🇺🇸#BOME/USDT is consolidating near the lowerborder of the fallingwedge formation on the 3D chart💁‍♂️ Bullish if we bounce off the one📈 American Crypto©

Hashtags

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