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

Резултати

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

Пребарај: #fil

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

@CoinSonar · Post #243408 · 17.04.2026 г., 01:50

#FIL | Volume spike (USDT PAIR) 58 times the average volume 258.06K USDT traded in 1 min └Buying vol: 179.20K USDT 🟢 Boost score: 5/10 24h Vol: 6.40M USDT (Binance) Price: 0.984 (-1.4% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28045 · 21.10.2024 г., 13:07

#FIL/USDT analysis : #FIL is currently in an uptrend, consistently making higher highs (HHs) and higher lows (HLs) along the trendline. The price is now retracing towards the 200 EMA, presenting a potential long trade opportunity. The target should be the previous high levels, as the price is anticipated to rise further. TF : 1D Entry : $3.888 Target : $4.662 SL : $3.366

Hashtags

American Crypto©

@americancryptotrading · Post #27613 · 08.05.2026 г., 08:21

🇺🇸#FIL/USDT is approaching the midline of the descendingchannel formation on the 3D chart💁‍♂️ Looking for a rise✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27570 · 27.03.2026 г., 10:40

🇺🇸#FIL/USDT is printing the descendingchannel formation on the 2W timeframe👨‍💻 A strong rally is approaching🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27525 · 05.02.2026 г., 11:46

🇺🇸#FIL/USDT has found support at the lowerboundary of the descendingchannel formation on the 3D chart👨‍💻 Looking for a leg upward📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27490 · 03.01.2026 г., 11:17

🇺🇸#FIL/USDT is rebounding from the lowerborder of the descendingchannel pattern on the 3D chart👨‍💻 Bounce will bring a huge rally🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27457 · 02.12.2025 г., 10:25

🇺🇸#FIL/USDT is currently shaping the descendingchannel formation on the weekly chart👨‍💻 Send it if we break out🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27378 · 17.09.2025 г., 09:00

🇺🇸#FIL/USDT is hovering above the broken descendingresistance line on the daily timeframe🧐 A pump is expected📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27268 · 02.06.2025 г., 09:38

🇺🇸#FIL/USDT is retesting the broken descendingresistance line on the daily timeframe🔍 Time to rally🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27164 · 23.02.2025 г., 19:18

🇺🇸#FIL/USDT has found support at the lowerborder of the descendingtriangle formation on the weekly chart👀 Time to bounce and rally📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27096 · 24.12.2024 г., 15:01

🇺🇸#FIL/USDT is retesting broken descendingresistance on the weekly chart🧐 Looking for a rise✈️ American Crypto©

Hashtags

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