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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #242 · 7 мај

Теперь запакуем строку. В этом случае следует передавать тип данных bytes. >>> struct.pack('=s', b'a') b'a' Для записи слова следует указывать количество символов. >>> struct.pack('=5s', b'hello') b'hello' Кстати, запакованный вид соответствует исходному тексту. Всё верно, символ есть в таблице ASCII, то есть его код попадает в диапазон 0-127, он может быть записан одним байтом и имеет визуальное представление. А вот что будет если добавить символ вне ASCII >>> struct.pack(f'=s', b'ё') SyntaxError: bytes can only contain ASCII literal characters. Ошибка возникла еще на этапе создания объекта bytes, который не может содержать такой символ. Поэтому надо кодировать эти байты из строки. >>> enc = 'ёжик'.encode('utf-8') >>> struct.pack(f'={len(enc)}s', enc) b'\xd1\x91\xd0\xb6\xd0\xb8\xd0\xba' Заметьте, длина такой строки в байтах отличается от исходной длины, так как символы вне ASCII записываются двумя байтами и более. Поэтому здесь формат создаём на лету, используя получившуюся длину как каунтер токена. #libs#basic

Hashtags

Резултати

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

Пребарај: #auction

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

@CoinSonar · Post #243511 · 17.04.2026 г., 07:44

#AUCTION | Volume spike (USDT PAIR) 29 times the average volume 130.36K USDT traded in 15 min └Buying vol: 116.01K USDT 🟢 Boost score: 4/10 24h Vol: 430.98K USDT (Binance) Price: 4.99 (-1.9% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28556 · 18.03.2025 г., 14:39

#AUCTION/USDT analysis : #AUCTION has tested the 200 EMA and rebounded from it. The price has broken out of the trendline, confirming the continuation of the bullish trend. The price is anticipated to test the swing high level. TF : 30min Entry : $33.35 Target : $37.30 SL : $30.98

Hashtags

Pro Analysis

@proanalysistrader · Post #28316 · 05.12.2024 г., 12:34

#AUCTION/USDT analysis : #AUCTION is in an uptrend, forming higher highs (HHs) and higher lows (HLs). The price has recently broken out of the trendline, indicating a potential resumption of its bullish momentum. It is anticipated that the price will continue to rise and test previous highs. TF : 30min Entry : $20.05 Target : $21.53 SL : $19.06

Hashtags

American Crypto©

@americancryptotrading · Post #27162 · 21.02.2025 г., 13:44

🇺🇸#AUCTION/USDT has printed the descending channel formation on the weekly timeframe👀 Waiting for a move up🐃 American Crypto©

Hashtags

Binance crypto champions

@binancecryptochampions · Post #3090 · 12.02.2026 г., 13:13

💎#AUCTION/USDT 💎 Signal Type: Regular (Long) Leverage: Cross (20.0x) Amount: 2.0% Entry Targets: 1) 5.040 Take-Profit Targets: 1) 5.160 2) 5.300 3) 5.600 Stop Targets: 1) 4.745 🦋 Published by: @Trading_exp🦋 Join_vip: @Crypto_Futures_Spot_Payment_bot 🚫 Don't forget to Secure profit 🚫

Hashtags

Binance crypto champions

@binancecryptochampions · Post #3060 · 02.02.2026 г., 13:00

⚡️⚡️#AUCTION/USDT⚡️⚡️ Signal Type: Regular (Long) Leverage: Cross (20x) Margin: 2.0% Entry Targets: 1) 4.40 2) 5.20 Take-Profit Targets: 1) 5.80 2) 6.20 3) 7.00 Stop Targets: 1) 4.00 🍁 Published by: @Trading_exp🍁 Join_vip: @Crypto_Futures_Spot_Payment_bot

Hashtags

Binance crypto champions

@binancecryptochampions · Post #2914 · 28.11.2025 г., 08:52

✴️Free signal-Futures ✴️ ⚡️⚡️#AUCTION/USDT⚡️⚡️ Signal Type: Regular (Long) Leverage: Cross (20x) Margin: 2.0% Entry Targets: 1) 5.20 2) 5.80 Take-Profit Targets: 1) 6.20 2) 6.40 3) 6.80 Stop Targets: 1) 4.90 🍁 Published by: @Trading_exp🍁 Join_vip: @Crypto_Futures_Spot_Payment_bot

Hashtags

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