Is there a Python library function to determine the IP address or addresses of the local machine? I'm looking for something that provides the information similar to what is displayed when you run ifconfig (Posix) or ipconfig (Windows)? Thanks, Mark Yes, I realize I could run ip / ifconfig in a shell, but I'm looking for something else.