title: Networkx: how can i import a graph from a file?
body: <p>With  networkx, im  trying to import a graph from a txt file.</p>
  
  <p>The graph format is this (ex:):</p>
  
  <pre><code>a b 
  a c 
  b d 
  c e 
  </code></pre>
  
  <p>Thtat means: <code>a--b  a--c  b--d c--e</code>  </p>
  
  <p>I suppose this is an edge list so i tried use the appropriate command:</p>
  
  <pre><code>G=nx.read_edgelist("path\file.txt")
  </code></pre>
  
  <p>but it doesen't work, any ideas?</p>