usage of virtualenv in Python

## install virtualenv
pip install virtualenv

## create new python env
cd my_project_folder
virtualenv my_project

## activate and deactivate
source my_project/bin/activate
deactivate

## pip install user defined modules
pip install requests
pip freeze > requirements.txt
pip install -r requirements.txt

## cleanup
rm -rf my_project