Running Jupyter Notebook through VSCode

I’m sure everybody and their mother knows this, but I just found out you can run Jupyter Notebook in VSCode! Do you know what this means to me? Oh, let me count the ways:

  • No more navigating to the folder through terminal, calling jupyter notebook, and working in my browser. I can just open VSCode.
  • I can see the files I’m working with in the explorer without switching tabs.
  • Dark themes without the drawbacks of Jupyter Themes. (Has anyone else installed Jupyter Themes just to find out the code box cuts off the last two characters? I have.)
  • Split screen in the same window that adjusts your code as you change the split, rather than covering your work with another window.
  • A built-in export as feature. I can export my work as python script, HTML, or even a pdf-- without Latex!
  • I can use my own environments instead of just Python 2 or Python 3.

I’m sure there are other things, too. VSCode has SO MANY extensions. What a game changer.

For more information, you can check out VSCode’s Jupyter Notebook Tutorial.

8 Likes