Python scripting for system administration