I would like to perform a bitwise exclusive or of two strings in python, but xor of strings are not allowed in python. How can I do it ?
Do you mean something like this:
s1 = '00000001' s2 = '11111110' int(s1,2) ^ int(s2,2)