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

Резултати

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

Пребарај: #bnt

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

@CoinSonar · Post #244248 · 18.04.2026 г., 15:28

#BNT | Volume spike (USDT PAIR) 1444 times the average volume 95.60K USDT traded in 1 min └Buying vol: 75.81K USDT 🟢 Boost score: 8/10 24h Vol: 95.28K USDT (Binance) Price: 0.3324 (-2.4% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28150 · 09.11.2024 г., 16:02

#BNT/USDT analysis : #BNT has recently broken out of the mini consolidation at the support level. The price is expected to rise further and continue its bullish momentum to test swing high levels. For confirmation of a long entry, it is advisable to wait for a weekly candle to close above the $0.5580 level. A potential gain of 70% is anticipated, with a stop-loss set at the $0.4130 level. TF : 1W Entry : $0.5580 Target : $0.9750 SL : $0.4130

Hashtags

Pro Analysis

@proanalysistrader · Post #27841 · 15.08.2024 г., 04:49

#BNT/USDT analysis : The current correction phase of #BNT indicates an upcoming rejection followed by a continuation of its downtrend with a strong bearish move. It is likely to test its previous swing low. Consider entering the market upon the breakout of the $0.464 level. TF : 2H Entry : $0.464 Target : $0.397 SL : $0.501

Hashtags

American Crypto©

@americancryptotrading · Post #27503 · 15.01.2026 г., 09:40

🇺🇸#BNT/USDT is testing the lowerborder of the descendingtriangle on the weekly chart🧐 Market recovery is underway📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27452 · 28.11.2025 г., 06:23

🇺🇸#BNT/USDT has found support at the lowerboundary of the descendingtriangle pattern on the weekly chart🧐 Looking for a move up if we bounce📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27071 · 03.12.2024 г., 15:05

🇺🇸#BNT/USDT is breaking the symmetrical triangle pattern on the weekly timeframe📈 Bullish case✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27025 · 22.10.2024 г., 10:45

🇺🇸#BNT/USDT produced a descendingchannel formation on daily timeframe🔍 Expecting Upside Breakout🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27017 · 15.10.2024 г., 12:11

🇺🇸#BNT/USDT produced a descendingchannel formation on daily timeframe🔍 Expecting Upside Breakout🚀 American Crypto©

Hashtags

Maximus Trade 🌕

@maximustrade1 · Post #7637 · 18.10.2023 г., 17:50

#BNT SHORT ▪Вход: 0.57$ ▪Тейк: буду обновлять. пс: учитываем, что это альткоин... торгуем соблюдая риски. LINK - Maximus Trade|TWITTER

Hashtags

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