Thanks a lot.. The below worked perfectly fine on my machine.
By the way i am using anaconda distribution python 2.7 for 64 bit windows
machine.
pr2.write_graphml("pr2.graphml")On Thu, Jan 14, 2016 at 4:11 PM, Tamas Nepusz <[email protected]> wrote: > Hi, > > > pr1,pr2 = g.bipartite_projection("type") > > f = io.open("pr2.graphml", 'w',encoding='utf8') > > pr2.write_graphml(f) > Hmmm, this works for me on my machine so it could be > platform-dependent. Which Python version are you using on which > platform? > > Also, try this instead - it is simpler and supposed to work on all > platforms (no need to create 'f' at all): > > pr2.write_graphml("pr2.graphml") > > T. > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
