def create_mac_string(num, splitter=u':'):
 mac = hex(num)[2:]
 if (mac[(-1)] == u'L'):
  mac = mac[:(-1)]
 pad = max((12 - len(mac)), 0)
 mac = ((u'0' * pad) + mac)
 mac = splitter.join([mac[x:(x + 2)] for x in range(0, 12, 2)])
 mac = mac.upper()
 return mac

def create_mac_string ( num , splitter = u':' ) : mac = hex ( num ) [ 2 : ] if ( mac [ ( - 1 ) ] == u'L' ) : mac = mac [ : ( - 1 ) ] pad = max ( ( 12 - len ( mac ) ) , 0 ) mac = ( ( u'0' * pad ) + mac ) mac = splitter . join ( [ mac [ x : ( x + 2 ) ] for x in range ( 0 , 12 , 2 ) ] ) mac = mac . upper ( ) return mac
return the mac address interpretation of num .