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

Резултати

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

Пребарај: #hft

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

@CoinSonar · Post #244039 · 18.04.2026 г., 07:34

#HFT | Volume spike (USDT PAIR) 39 times the average volume 128.56K USDT traded in 15 min └Buying vol: 75.31K USDT 🟢 Boost score: 5/10 24h Vol: 310.07K USDT (Binance) Price: 0.0176 (-2.2% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28365 · 04.01.2025 г., 17:27

#HFT/USDT analysis : #HFT has broken out and retested the previously respected zone. The price is expected to rebound from this level and resume its bullish momentum, aiming to test the previous highs. This indicates a strong potential for upward movement as the market seeks to continue its bullish trend. TF : 1D Entry : $0.2230 Target : $0.3200 SL : $0.1770

Hashtags

Pro Analysis

@proanalysistrader · Post #27800 · 05.08.2024 г., 17:10

#HFT/USDT analysis : #HFT is in downtrend, trading below 200ema. Price is in pullback phase. Let it approach resistance zone and reject from there to downside as previous swing low is expect to be tested. TF : 15min Entry : $0.1390 Target : $0.1163 SL : $0.1483

Hashtags

American Crypto©

@americancryptotrading · Post #27436 · 12.11.2025 г., 11:15

🇺🇸#HFT/USDT is getting ready to break out from the descendingchannel on the weekly chart👀 Bullish case📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27258 · 23.05.2025 г., 09:49

🇺🇸#HFT/USDT is on the edge of breaking through the descendingresistance on the daily chart🧐 Looking for a leg upward✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27105 · 02.01.2025 г., 17:17

🇺🇸#HFT/USDT is trading within the descendingchannel on the 3D chart💁‍♂️ Time to break out and rally📈 American Crypto©

Hashtags

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