![]() ![]() ![]() ![]() get_mac_address ( ip = “192.168.0.1”, network_request = True )) # Enabling debugging from getmac import getmac getmac. get_mac_address ( interface = “Ethernet 3” )) Terminal examples DEBUG = 2 # DEBUG level 2 print ( getmac. # Interface names, IPv4/IPv6 addresses, or Hostnames can be specified # Invoking with no arguments will return MAC of the default interface Python 2 users: use getmac2 or python -m getmac instead of getmac. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |