(s)
return bytestostr(binascii.hexlify(s))
Convert from binary string (bytes) to hex string (str).
Convert from binary string (bytes) to hex string (str).
Convert from binary string ( bytes ) to hex string ( str ) .
def _enhex(s):
    """Convert from binary string (bytes) to hex string (str)."""

    import binascii

    return bytestostr(binascii.hexlify(s))
def _enhex ( s ) : import binascii return bytestostr ( binascii . hexlify ( s ) )