Run .py file in JupyterLab (Windows 10)

DHEERAJ KUMAR
1 min readJun 21, 2020

Prerequite:

JupyterLab is installed and working. If not first install it and instruction to do so from here. I m using Windows 10

Step 1: run jupyterlab via anaconda

$> jupyter lab

Step 2: above step will open lab launcher http://localhost:8888/lab

Step 3: Create a .py file.

Step 4: Click + to open Launcher and click Other -> Terminal

Step 5: go to the location of file fun.py and execute py file

$> cd /path/to/file

$>python fun.py

That’s All.

--

--

DHEERAJ KUMAR

.Net Core Expert and an Experienced Full Stack Engineer (nodejs+Angular 9) with a demonstrated history of working in the product development software company.