Oct-01-2019, 10:20 PM
Everything is so confusing here, ie:
Or, what IN HUMAN LANGUAGE means error like this:
I have completely no idea how computer sees it all, docs are giving me only some confusing and overwhelming details but no bigger picture, and if I cant understand something I will always keep forgetting it.
>>> z = b'\x93\x39\x02\x49\x83\x02\x82\xf3\x23\xf8\xd3\x13' >>> list(z) [147, 57, 2, 73, 131, 2, 130, 243, 35, 248, 211, 19]So what EXACTLY is the 'x93' and what is corresponding to it '147' and why?
Or, what IN HUMAN LANGUAGE means error like this:
>>> str(z, 'utf-8') Traceback (most recent call last): File "<pyshell#12>", line 1, in <module> str(z, 'utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 0: invalid start byteOr, how Im supposed to concat 'byte class' objects? '+' Doesnt seem to work.
>>> z = b'\x93\x39\x02\x49\x83\x02\x82\xf3\x23\xf8\xd3\x13' >>> x = b'\x55' >>> z+x b'\x939\x02I\x83\x02\x82\xf3#\xf8\xd3\x13U'Why its now 'x13U'? Dafuq?
I have completely no idea how computer sees it all, docs are giving me only some confusing and overwhelming details but no bigger picture, and if I cant understand something I will always keep forgetting it.