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 слични објави

Пребарај: #eigen

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

@CoinSonar · Post #244132 · 18.04.2026 г., 10:51

#EIGEN | Volume spike (USDT PAIR) 61 times the average volume 125.29K USDT traded in 1 min └Selling vol: 102.87K USDT 🔴 Boost score: 1/10 24h Vol: 2.94M USDT (Binance) Price: 0.187 (-3.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243813 · 17.04.2026 г., 18:53

#EIGEN | Volume spike (USDT PAIR) 9 times the average volume 299.70K USDT traded in 15 min └Selling vol: 161.51K USDT 🔴 Boost score: 1/10 24h Vol: 2.94M USDT (Binance) Price: 0.207 (-3.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243679 · 17.04.2026 г., 13:28

#EIGEN | Volume spike (USDT PAIR) 60 times the average volume 123.06K USDT traded in 1 min └Selling vol: 102.95K USDT 🔴 Boost score: 1/10 24h Vol: 2.94M USDT (Binance) Price: 0.203 (-3.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243421 · 17.04.2026 г., 02:30

#EIGEN | Volume spike (USDT PAIR) 58 times the average volume 118.68K USDT traded in 1 min └Selling vol: 104.16K USDT 🔴 Boost score: 1/10 24h Vol: 2.94M USDT (Binance) Price: 0.197 (-3.5% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243376 · 17.04.2026 г., 00:27

#EIGEN | Volume spike (USDT PAIR) 64 times the average volume 131.50K USDT traded in 1 min └Buying vol: 110.67K USDT 🟢 Boost score: 6/10 24h Vol: 2.94M USDT (Binance) Price: 0.200 (-3.5% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27600 · 26.04.2026 г., 08:33

🇺🇸#EIGEN/USDT is currently breaking the descendingchannel pattern on the 3D chart🔍 A rise will be huge🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27510 · 21.01.2026 г., 10:31

🇺🇸#EIGEN/USDT is testing the main support zone on the 3D timeframe🧐 Time to bounce and rally📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27335 · 07.08.2025 г., 09:47

🇺🇸#EIGEN/USDT is moving inside the symmetricaltriangle pattern on the 2D chart🧐 A breakout is coming📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27226 · 22.04.2025 г., 09:51

🇺🇸#EIGEN/USDT is breaking the descendingresistance line on the daily chart👨‍💻 Waiting for a huge rally📈 American Crypto©

Hashtags

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