Skip to content

Instantly share code, notes, and snippets.

@ebanner
Created March 28, 2025 16:36
Show Gist options
  • Save ebanner/51c6c117836d0d78a2acf6b0065c0217 to your computer and use it in GitHub Desktop.
Save ebanner/51c6c117836d0d78a2acf6b0065c0217 to your computer and use it in GitHub Desktop.

Python

import IPython
IPython.embed_kernel(local_ns={**globals(), **locals()})

Terminal

$ export PYXLL_IPYTHON_CONNECTION_FILE=$(jupyter --runtime-dir)/kernel-11100.json
$ jupyter lab --KernelProvisionerFactory.default_provisioner_name=pyxll-provisioner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment