> Why the [:6]?
The first 6 hex characters identify the manufacturer.
> Perhaps use re.sub to strip [-:] in a single call.
It's probably more efficient to do 2 replaces() ;-)
« Back to merge proposal
> Why the [:6]?
The first 6 hex characters identify the manufacturer.
> Perhaps use re.sub to strip [-:] in a single call.
It's probably more efficient to do 2 replaces() ;-)