python pip automatically check for updates code example Example: pip check for updates $ pip list --outdated