pyhton environment code example
Example 1: activate environment python
$ source env/bin/activate
(env) $
Example 2: how to activate python virtual environment
#open directory with terminal where you crated vertual environment
#example your venv name <visualscrapy>
teamspirit:~$ cd visualscrapy
#teamspirit:~/visualscrapy$ <-- output
#Now type bellow command
source ./bin/activate
#(visualscrapy) teamspirit:~/visualscrapy$ <-- output