Python Define Byte Array To Pdf