packets.py
def __bytes_to_mac_addr(addr: bytes) -> str:
        """
        Converts a byte-string of length 6 bytes to IEEE 802 MAC address.
        Ex: From b'\xceP\x9a\xcc\x8c\x9d' to 'ce:50:9a:cc:8c:9d'
        """
        return ':'.join(format(octet, '02x') for octet in addr)

        Converts a byte-string of length 6 bytes to IEEE 802 MAC address.
        Ex: From b'\xceP\x9a\xcc\x8c\x9d' to 'ce:50:9a:cc:8c:9d'
        
Converts a byte-string of length 6 bytes to IEEE 802 MAC address.
Converts a byte - string of length 6 bytes to IEEE 802 MAC address .
def __bytes_to_mac_addr(addr: bytes) -> str:
        return ':'.join(format(octet, '02x') for octet in addr)
def __bytes_to_mac_addr ( addr : bytes ) -> str : return ':' . join ( format ( octet , '02x' ) for octet in addr )
Converts a byte-string of length 6 bytes to IEEE 802 MAC address.
Converts a byte - string of length 6 bytes to IEEE 802 MAC address .
"""
        Converts a byte-string of length 6 bytes to IEEE 802 MAC address.
        Ex: From b'\xceP\x9a\xcc\x8c\x9d' to 'ce:50:9a:cc:8c:9d'
        """
addr
bytes