Skip to content

Instantly share code, notes, and snippets.

@kjordahl
Created April 3, 2013 22:36
Show Gist options
  • Save kjordahl/5306093 to your computer and use it in GitHub Desktop.
Save kjordahl/5306093 to your computer and use it in GitHub Desktop.
find the connection file for a running ipython process.
from IPython.kernel.zmq.kernelapp import IPKernelApp
app = IPKernelApp.instance()
print app.connection_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment