activate virtual environment python widows code example Example: how to activate a venv in windows \env\Scripts\activate.bat