Python — Jupyter Notebook Quick Start with VSCode

How to Set your Win10 Environment to use Jupyter Notebook — #PySeries#Episode 00

J3
Jungletronics
4 min readAug 6, 2020

--

Hi, at the end of this tutorial, your Jupyter notebook will run in your Win10.

Fig 1. Working with Jupyter Notebooks in Visual Studio Code

I have found this awesome code editor (Visual Studio Code V. 1.47.30) application to increase my productivity when coding, and with it, I was able to easily configure my Windows 10 platform to run the Jupyter notebook cells in python 3.

If you are interested in having a good tool to code in Jupyter notebook cells, be welcome :)

00# Step — Download Visual Studio Code (I’m using MS Win 10 Home Single Lang Edition — Version 10.0.18363) from:

https://code.visualstudio.com/

01#Step — Open VSCode, (1) Go to Extensions (Ctrl + Shift + X), type Python, on the search bar, choose Python, and (2) click the green button to Install MS Python Extension:

Fig 2. Python Extension includes rich support for Python Language, including IntelliSense, linting, debugging, code formatting, Jupyter notebook support, refactoring, variable explorer, test Explorer, snippets, and more!

02#Step — Create a folder for your Jupyter projects.

Mine is located in this directory:

C:\Users\giljr\Documents\Visual_Code_Projects\Jupyter

03#Step —Open it on your VSCode and create a folder; mine is called EX_00 (it will be overwritten by .ipynb):

Fig 3. Preparing my environments, folder, and files for better organization, and later uploads it all to Git Repo :)

04#Step — Type F1, run Create New Blank Jupyter Notebook in the Command Palette ( Shift + Command + P ):

Fig 4. Running Create New Blank Jupyter Notebook in the Command Palette (Shift + Command + P)

05#Step — In Jupyter cell, type:

print("hello")
hit Ctrl + Enter

:/ Hit the Install blue-button anyway!

Fig 5. The Jupyter server is inactive…it must locate the Data Science libraries and notebook which are not installed yet in the Python 3.7.3 64 bit :/ HIT the blue Install button above… Let’s see what will happen! :)

06#Step — After all installations, run the cell again, and everything must be ok! See that the Jupyter server is working like a charm in my win!

Fig 6. To complete this step, at the console, type: python -m pip install — upgrade pip
Fig 7. And pip-20 has installed successfully!

07#Step — Hit button Save notebook and go to your EX_01 directory and rename it to ex_00_hello_world.ipynb:

Fig 8. All set and done! Jupyter notebook has finally arrived to join us \o/ — After a lot of hard work!

And that’s all!

As promised, the Jupyter notebook is up and running!

In the next PySeries episode, I will run some Python code for engineering calculations…Be there!

Bye for now!

Download all Files from the GitHub Repo

References & Credits

Posts Related:

00Episode#PySeries — Python — Jupiter Notebook Quick Start with VSCode — How to Set your Win10 Environment to use Jupiter Notebook (this one)

01Episode#PySeries — Python — Python 4 Engineers — Exercises! An overview of the Opportunities Offered by Python in Engineering!

02Episode#PySeries — Python — Geogebra Plus Linear Programming- We’ll Create a Geogebra program to help us with our linear programming

03Episode#PySeries — Python — Python 4 Engineers — More Exercises! — Another Round to Make Sure that Python is Really Amazing!

04Episode#PySeries — Python — Linear Regressions — The Basics — How to Understand Linear Regression Once and For All!

05Episode#PySeries — Python — NumPy Init & Python Review — A Crash Python Review & Initialization at NumPy lib.

06Episode#PySeries — Python —NumPy Arrays & Jupyter Notebook— Arithmetic Operations, Indexing & Slicing, and Conditional Selection w/ np arrays.

07Episode#PySeries — Python — Pandas — Intro & Series — What it is? How to use it?

08Episode#PySeries — Python — Pandas DataFrames — The primary Pandas data structure! It is a dict-like container for Series objects

09Episode#PySeries — Python — Python 4 Engineers — Even More Exercises! — More Practicing Coding Questions in Python!

10Episode#PySeries — Python — Pandas — Hierarchical Index & Cross-section — Open your Colab notebook and here are the follow-up exercises!

11Episode#PySeries — Python — Pandas — Missing Data — Let’s Continue the Python Exercises — Filling & Dropping Missing Data

12Episode#PySeries — Python — Pandas — Group By — Grouping large amounts of data and compute operations on these groups

13Episode#PySeries — Python — Pandas — Merging, Joining & Concatenations — Facilities For Easily Combining Together Series or DataFrame

14Episode#PySeries — Python — Pandas — Pandas Dataframe Examples: Column Operations

15Episode#PySeries — Python — Python 4 Engineers — Keeping It In The Short-Term Memory — Test Yourself! Coding in Python, Again!

16Episode#PySeries — NumPy — NumPy Review, Again;) — Python Review Free Exercises

17Episode#PySeriesGenerators in Python — Python Review Free Hints

18Episode#PySeries — Pandas Review…Again;) — Python Review Free Exercise

19Episode#PySeriesMatlibPlot & Seaborn Python Libs — Reviewing theses Plotting & Statistics Packs

20Episode#PySeriesSeaborn Python Review — Reviewing theses Plotting & Statistics Packs

--

--

J3
Jungletronics

Hi, Guys o/ I am J3! I am just a hobby-dev, playing around with Python, Django, Ruby, Rails, Lego, Arduino, Raspy, PIC, AI… Welcome! Join us!