Numerical Method Using Python For Network