I\'m trying to open a pdf file in binary and encode it in base64("utf-8"), but I\'m getting this ERROR message:
AttributeError: \'_io.BufferedReader