print the name of the venv python using code code example Example 1: create new python environment py -m venv env Example 2: activate venv venv\Scripts\activate.bat