NetworkX

Previous topic

Pickle

Next topic

networkx.write_gpickle

Quick search

networkx.read_gpickle

read_gpickle(path)

Read graph object in Python pickle format

G=nx.path_graph(4) nx.write_gpickle(G,”test.gpickle”) G=nx.read_gpickle(“test.gpickle”)

See cPickle.