Please, with python3 I had to encode/decode at all the places I did to avoid errors.