Better way of formatting Mac Addresses in Python

Following up on my Formating mac addresses using python post I have a better way of using Mac addresses.  I have been using the netaddr library for ip and mac address manipulations.  To convert a binary mac address to an EUI object you can use the following code import netaddr from netaddr import EUI def convertMac(octet): """ This Function… Continue reading Better way of formatting Mac Addresses in Python