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

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try my iOS App