zprinter.py
def binary_to_byte_string(binary_data, debug=False):
    """ Convert a binary data block into a byte string.
    """
    hex_string = ""
    for row in binary_data:
        hex_string += binary_string_to_hex_string(row, debug)
    byte_string = hex_string_to_latin1_string(hex_string)

    return(byte_string)
 Convert a binary data block into a byte string.
    
Convert a binary data block into a byte string.
Convert a binary data block into a byte string .
def binary_to_byte_string(binary_data, debug=False):
    hex_string = ""
    for row in binary_data:
        hex_string += binary_string_to_hex_string(row, debug)
    byte_string = hex_string_to_latin1_string(hex_string)
    return(byte_string)
def binary_to_byte_string ( binary_data , debug = False ) : hex_string = "" for row in binary_data : hex_string += binary_string_to_hex_string ( row , debug ) byte_string = hex_string_to_latin1_string ( hex_string ) return ( byte_string )
Convert a binary data block into a byte string.
Convert a binary data block into a byte string .
""" Convert a binary data block into a byte string.
    """
binary_data
debug