activating python environment code example
Example 1: create new python environment
py -m venv env
Example 2: how to activate python virtual environment
#open directory with terminal where you crated vertual environment
#example your venv name
teamspirit:~$ cd visualscrapy
#teamspirit:~/visualscrapy$ <-- output
#Now type bellow command
source ./bin/activate
#(visualscrapy) teamspirit:~/visualscrapy$ <-- output
Example 3: how to activate the pytho virtual environment
mypthon\Scripts\activate