title: How to get the current jupyter notebook servers in python?
body: <p>How can you get a list of the currently running Jupyter Notebook Servers in python?</p>
  
  <p>There is a <code>jupyter-notebook</code> command to list the current notebook servers </p>
  
  <pre><code>machinename:~ username$ jupyter-notebook list
   http://localhost:8888 :: /Users/username/your/notebook/path
   http://localhost:8889 :: /Users/username/your/other/notebook/path
   ...
  </code></pre>
  
  <p>How can this be done in python without going to the command line and parsing the output?</p>