how to switch environment in python code example Example: create virtual environment code python3 -m venv venv