adding edges by using networkx functions
<p>I'm trouble with making graph by networkx. I'm trying to add edges but my code doesn't work. I followed the way suggested by tutorial from <a href="http://networkx.lanl.gov/" rel="nofollow">http://networkx.lanl.gov/</a>.</p>

<p>Is there any help on my code? G.nodes() and G.edges() didn't print out anything.</p>

<pre><code>import networkx as nx

fh = open("internal_link.txt", 'rb')
G = nx.parse_edgelist(fh, delimiter='\t' and '\n', create_using=nx.DiGraph())
G.nodes()
G.edges()
</code></pre>

<p>My data(internal_link.txt) format is as follows: (the dots means more lines that are exactly same form with previous things)</p>

<pre><code>9991942 15683276
9991942 15763818
9991942 15764086
9991942 15769010
9991942 15771971
9991942 15778227
9991942 15784302
9991942 15793787
9991942 15811314
9991942 15823044
9991942 15843518
9991942 15865514
9991942 15874410
9991942 15936166
9991942 15959560
9991942 16027570
9991942 16043690
9991942 16049723
.
.
.
.
</code></pre>
