Color representation as rgb, int and hex
Eko palypse
ekopalypse at gmail.com
Mon Sep 9 06:59:07 EDT 2019
> No, constructing a bytes literal from hex digits implies that they
> follow the sequence in the string of digits. It's nothing to do with
> the endinanness of integers.
> ChrisA
> Why should it imply that? You're asking it to create some bytes
> from a string of hex digits -- no mention of integers. The obvious
> thing to do is to put the bytes in the order they apper in the
> string.
> Greg
@Greg, ChrisA
Agreed, as I said this came into my mind first as I saw the
name of the method but your arguments make sense, absolutely.
Thank you
Eren
More information about the Python-list
mailing list