Skip to content

Instantly share code, notes, and snippets.

@kylekyle
Last active March 1, 2016 05:09
Show Gist options
  • Save kylekyle/88e72112f87f1d4df95a to your computer and use it in GitHub Desktop.
Save kylekyle/88e72112f87f1d4df95a to your computer and use it in GitHub Desktop.
How to communicate with a Jupyter kernel directly
Jupyter.notebook.kernel.execute("puts 'hello world'", {
iopub : {
output : function(response) {
console.log(response);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment