def get_hex(fh, nbytes=1):
    """
    get nbyte bytes (1 by default)
    and display as hexidecimal
    """
    hstr = ''
    for i in range(nbytes):
        b = '%02X ' % ord(fh.read(1))
        hstr += b
    return hstr
