I\'m trying to make a HTTPS connection in Python3 and when I try to encode my username and password the base64 encodebytes method returns the encoded v
base64
encodebytes
Following code would work
auth_base64 = auth_base64.decode('utf-8').replace('\n', '')