Answers for "how to install phython on mac"

14

pip installer for mac

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Posted by: Guest on February-11-2020
3

How to get mac in python

import uuid

mac_address_int = uuid.getnode()  # Get hardware address as 48-bit positive int
mac_address_hex = hex(mac_address_int)  # Create hexadecimal version of mac address

print("MAC address:", mac_address_hex)  # MAC address: 0x00005e0053af
Posted by: Guest on March-29-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language