Install python
Just type python on your terminal (Linux) or cmd prompt (Windows)
)
>>>
If it gives error, then install python first https://python.org/downloads/
virtualenv
set up a workspace
Ativate virtualenv For Linux
For Windows
.venv\Scripts\activate.bat
Installed packages can be seen by pip list
Pip
pip is package manager used for installing python packages
Jupyter notebook
VSCode
Install VSCode from https://code.visualstudio.com/
Create a create.py file
touch hello.py
Lanuch vscode from the terminal
code .
Vscode plugins
Type Ctrl+Shift+X which will open a side pannel
and search this plugins and install to your machine
Python
Jupyter
Code Runner
Now VScode automatically detect the virtualenv, if not, click on left bottom panel to select the correct python env.
Enjoy coding :)