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