python used in network analyse