activate python environemtn code example
Example 1: how to activate virtual environment in python
# for windows 10
py -m venv myvirtualenv
myvirtualenv\Scripts\activate #!!!! use "\" not "/" !!!!!
Example 2: how to activate venv
source venv/bin/activate
Example 3: activate virtual environment python
source virtual/bin/activate