ifaddr is a small Python library that allows you to find all the IP addresses of the computer.