title: python networkx: How to get a random path?
body: <p>In the networkx there is such a function</p>
  
  <pre><code>nx.all_simple_paths(G,source=0,target=5)
  </code></pre>
  
  <p>it returns all the paths, but if there are a lot of possible paths, it will work very long. </p>
  
  <p>How can one immediately get just any path?</p>