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

Резултати

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

Пребарај: #w

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

@CoinSonar · Post #244142 · 18.04.2026 г., 11:17

#W | Volume spike (USDT PAIR) 135 times the average volume 102.42K USDT traded in 1 min └Buying vol: 80.22K USDT 🟢 Boost score: 5/10 24h Vol: 1.09M USDT (Binance) Price: 0.0126 (-2.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243661 · 17.04.2026 г., 13:15

#W | Volume spike (USDT PAIR) 156 times the average volume 118.47K USDT traded in 1 min └Buying vol: 72.03K USDT 🟢 Boost score: 5/10 24h Vol: 1.09M USDT (Binance) Price: 0.0132 (-2.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243523 · 17.04.2026 г., 08:00

#W | Volume spike (USDT PAIR) 147 times the average volume 111.58K USDT traded in 1 min └Selling vol: 80.26K USDT 🔴 Boost score: 1/10 24h Vol: 1.09M USDT (Binance) Price: 0.0131 (-2.4% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243406 · 17.04.2026 г., 01:41

#W | Volume spike (USDT PAIR) 11 times the average volume 131.88K USDT traded in 15 min └Selling vol: 84.17K USDT 🔴 Boost score: 1/10 24h Vol: 1.09M USDT (Binance) Price: 0.0130 (-2.4% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27493 · 06.01.2026 г., 10:41

🇺🇸#W/USDT is testing the lowerboundary of the descendingchannel pattern on the 3D chart💁‍♂️ Expecting a bounce soon✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27393 · 01.10.2025 г., 09:02

🇺🇸#W/USDT is retesting the descendingresistance pattern on the 3D chart🔍 Looking for a move up🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27330 · 02.08.2025 г., 09:45

🇺🇸#W/USDT is currently trading above the descendingresistance line on the daily chart🧐 A pump is expected✈️ American Crypto©

Hashtags

Crypto Angels

@cryptoangelsusa · Post #21584 · 18.09.2025 г., 21:28

Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #W/USDT All take-profit targets achieved 😎 Profit: 79.1316% 📈 Period: 9 Hours 45 Minutes ⏰

Hashtags

Crypto Angels

@cryptoangelsusa · Post #21583 · 18.09.2025 г., 12:50

Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #W/USDT Take-Profit target 1 ✅ Profit: 29.4244% 📈 Period: 1 Hours 2 Minutes ⏰

Hashtags

123•••89
ПретходнаСтраница 1 од 9Следна