Convert TXT file format to gt format

Hi all:
I want to use the Stanford data set to solve the shortest path in graph-tool, but the Stanford data is all in TXT format, how do I convert it to gt file format?


attachment.html (271 Bytes)

facebook_combined.txt (921 KB)

You load it as a graph using load_graph_from_csv() and then save it.