Skip to content

Instantly share code, notes, and snippets.

@drewconway
Created February 25, 2009 17:39
Show Gist options
  • Save drewconway/70308 to your computer and use it in GitHub Desktop.
Save drewconway/70308 to your computer and use it in GitHub Desktop.
from networkx import *
import os
os.chdir('/Where/You/Stored/TheData/File/')
G=read_edgelist('your_net.edgelist',delimiter='\t',create_using=Graph(),nodetype=str)
info(G)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment