activate virtual environment in python

Source: http://docs.python-guide.org/en/latest/dev/virtualenvs/

Assuming venv as the path for virtual environment:

$ src venv/bin/activate

When done – then:

$ deactivate