Python Convert Variable To Byte String To Pdf