Python for network management