Python Convert Array Of String To Hex