From: ChiangKim <jia...@ou...> - 2014-03-21 12:03:57
|
Hi ,everyone! I'm just a student ans this is my first time to use python and Labpython, but I meet a trouble so I ask for some help. I use a software package "igraph" in python .There is an igraph's own namespace summary() ,when I command this,some information shows like this: >>> summary(g) 6 vertices, 6 edges, undirected Number of components: 2 Diameter: 1 Density: 0.4000 Average path length: 1.0000 print also shows some information: >>> print g Undirected graph (|V| = 3, |E| = 2)In labpython,I can do it to show the information that "print g" give as string But I can't find the way to use "summary(g)" Would you please help me ? Many thanks! |