upgrade all of the outdated packaged in pip in one shot code example
Example 1: pip install upgrade all
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
Example 2: update all modules python
pip install [package] --upgrade