Where did you take 110 from? Because my calculation also gives 61, everything seems correct...
How do you get it? I use sys.getsizeof()
I just went with len() for start, there is no unicode characters in your string (though I'm not sure how correct this is) But you can check with something like https://mothereff.in/byte-counter
that's useless. it also includes the data type, not the actual length of bytes that get encoded and sent to telegram. you also didn't encode it when checking with it, it's 110 for string, for bytes it's 94.
Yes thanks you guys, get it
Обсуждают сегодня