python upgrade command code example
Example 1: pip upgrade
python -m pip install --upgrade pip
Example 2: command to upgrade python version
python -m pip install pip
#or
python -m pip install –upgrade pip
python -m pip install --upgrade pip
Example 3: pip upgrade command
python -m pip install --upgrade pip
Example 4: 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