I’m receiving from the socket a MAC address in this format:
0024e865a023 (hex converted from binary with received-string.encode(“hex”))
I would like to convert it to a user readable format like this :
00-24-e8-65-a0-23
Any easy way to do so?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can break apart the MAC address into an array of each block, and then join them on
-: