upgrade modules in python code example Example: how to update a module in python pip install [package] --upgrade