how to update packages in python code example

Example 1: how to update pip python

python -m pip install --upgrade pip

Example 2: how to update a module in python

pip install [package] --upgrade

Example 3: python update installed packages

py2
$ pip install pip-review

$ pip-review --local --interactive

py3
$ pip3 install pip-review

$ py -3 -m pip_review --local --interactive

Example 4: how to update a python package

''' for updateing a modeule in python follow these steps:
		1. install the module (pip3 install [package])
        2. upgrade the module(pip3 install [package] --upgrade)'''