Skip to content

Instantly share code, notes, and snippets.

@shenoy-anurag
Created October 23, 2020 23:20
Show Gist options
  • Save shenoy-anurag/3c229c1440ec8a787bb85cf4b5fd1df2 to your computer and use it in GitHub Desktop.
Save shenoy-anurag/3c229c1440ec8a787bb85cf4b5fd1df2 to your computer and use it in GitHub Desktop.
Run Jupyter notebook
import subprocess
# Run Jupyter notebook server:
subprocess.call(["jupyter", "notebook"])
# Install Kernel:
# subprocess.call(['ipython', 'kernel', 'install', '--user', '--name=venv'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment