what does a virtual env do python code example
Example 1: virtual env in python
pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
Example 2: how virtual environment in python works
>>> import sys
>>> sys.prefix
'/System/Library/Frameworks/Python.framework/Versions/3.5'