Hi,
I have a python array that is either a list or numpy array. I want to do a bitwise inversion of all the elements and was wondering what the easiest way would be.
a = [0xFF,0xFF,0xFF,0xFF]
invert to....
b = [0x00,0x00,0x00,0x00]
What is the easiest way to do this?
Thanks!