byte comparison python code example
Example: how to compare byte string in python
#make both of them str
var1 = b'hey'
var2 = b'hey'
print(if str(var1) == str(var2))
>> True
#make both of them str
var1 = b'hey'
var2 = b'hey'
print(if str(var1) == str(var2))
>> True