On Dec 27, 2014, at 10:05 PM, ... <offonoffoffonoff@gmail.com> wrote:graph.save('filename.xml')
On Dec 27, 2014 9:45 PM, "Helen Lampesis" <eukolomnimonitos@gmail.com> wrote:_______________________________________________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
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool