I am looking for a more elegant solution to formatting a MAC address with colons. I am using Python 3.2. A fancy list comprehension perhaps?
s=\"\" h=\"0023
Not new but still most elegant I think:
import re ':'.join(re.findall('..', '08002714f616'))