Introduction

Jupyter is an open-source project that provides a browser-based interactive computing environment, allowing you to easily combine executable Python code, Markdown text, and visualizations into a single notebook.

Jupyter Keyboard Shortcuts

VS Code Integration

Jupyter Notebooks in VS Code

VS Code integrates the Jupyter notebook interface directly into the editor through the Jupyter extension. This setup provides a seamless experience for working with Jupyter notebooks without needing to manage separate server processes or switch to a browser.

Exporting Jupyter

Exporting the Jupyter Notebook

The command is jupyter nbconvert, followed by notebook to convert, destination format (option --to <format>) and output filename (option --output <filename>)

  • Export to markdown
    • Can specify output name like --output output.md
jupyter nbconvert my_notebook.ipynb --to markdown 
  • Export to html
jupyter nbconvert my_notebook.ipynb --to html --output output.html
  • Use the basic template to embed the HTML as a fragment into
jupyter nbconvert my_notebook.ipynb --to html --template basic --output output.html

Google Colab

Google Colab Tutorial for Data Scientists

  • Include a link to Google Colab

Open In Colab

<a href="https://colab.research.google.com/github/chxtio/CS_7650_Natural_Language_Processing/blob/master/hw5_key_value_memory_network_assignment_v2.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>