graph.save('filename.xml')
Hi everyone,The following code snippet gives me a TypeError and I am wondering if you have any suggestion.------------------------------------------------import graph_tool as gtimport pickleg = gt.Graph()pickle.dump(g, open('test_file', 'w’))------------------------------------------------The error: TypeError: coercing to Unicode: need string or buffer, _io.BytesIO foundI am working on Yosemite OS with graph_tool 2.2.35 (installed via macports).Thank you very much and happy new year!!Helen
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool