python pip\ code example

Example 1: 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 2: python pip install

## To install Pip, first download get-pip.py from:
https://bootstrap.pypa.io/get-pip.py
  
## Then run the following command in the command line
## in the folder where the file has been saved.
python get-pip.py

Example 3: pip version

pip --version

Example 4: python interpreter pip

# context=ssl._create_unverified_context()
conn = http.client.HTTPSConnection("api/hostname.ca", context=ssl._create_unverified_context())
httplib.HTTPSConnection(hostname, timeout=5, context=ssl._create_unverified_context())