[BGL python binding]
HI Doug, The python binding for BGL is great. I tested the version, 0.9 downloaded from http://www.osl.iu.edu/~dgregor/bgl-python/. Unfortunately, it broke. But the version from " svn co https://svn.osl.iu.edu/svn/projects/viz/bgl-python" works though lots of warnings. I compiled it against boost 1.33.1. So i suggest you update the tarball link. Due to the old system on our cluster, i have to use python 2.2. The 'enumerate' is not available in 2.2. So a snip like below is necessary to be added to graph/docstring.py. def enumerate(ls): ls_to_return = [] for i in range(len(ls)): ls_to_return.append((i,ls[i])) return ls_to_return Yu
On Dec 16, 2005, at 2:23 PM, Yu Huang wrote:
The python binding for BGL is great.
Glad to hear it :)
I tested the version, 0.9 downloaded from http://www.osl.iu.edu/~dgregor/bgl-python/. Unfortunately, it broke. But the version from " svn co https://svn.osl.iu.edu/svn/projects/viz/bgl-python" works though lots of warnings.
I compiled it against boost 1.33.1. So i suggest you update the tarball link.
Will do. We'll try to release a 0.9.1 in the "near" future.
Due to the old system on our cluster, i have to use python 2.2. The 'enumerate' is not available in 2.2. So a snip like below is necessary to be added to graph/docstring.py.
def enumerate(ls): ls_to_return = [] for i in range(len(ls)): ls_to_return.append((i,ls[i])) return ls_to_return
Okay, thanks! Doug
participants (2)
-
Douglas Gregor
-
Yu Huang