download get-pip.py for python code example

Example 1: linux install pip

apt-get install python-pip	#python 2
apt-get install python3-pip	#python 3

Example 2: how to install pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py

Example 3: how to use get-pip.py

python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0

Example 4: pip download

py -m pip download [options] <requirement specifier> [package-index-options] ...
py -m pip download [options] -r <requirements file> [package-index-options] ...
py -m pip download [options] <vcs project url> ...
py -m pip download [options] <local project path> ...
py -m pip download [options] <archive url/path> ...