how to install and activate virtual environment in python 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 python
python3 -m venv tutorial-env