What's the easiest way to convert a list of hex byte strings to a list of hex integers?
python
Solution
[int(x, 16) for x in L]
Problem
I have a list of hex bytes strings like this ['BB', 'A7', 'F6', '9E'] (as read from a text file) How do I convert that list to this format? [0xBB, 0xA7, 0xF6, 0x9E]