I am totally new to python programming so please be patient with me.
Is there anyway to get the names of the NIC cards in the machine etc. eth0, lo? If so how do you
socket module in Python >= 3.3:
socket
import socket # Return a list of network interface information socket.if_nameindex()
https://docs.python.org/3/library/socket.html#socket.if_nameindex