Python get network interfaces.