Run .py file in JupyterLab (Windows 10)
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.