import pkg_resources from subprocess import call packages = [dist.project_name for dist in pkg_resources.working_set] for pck in packages: clval = 'pip install --upgrade '+pck print("pip install --upgrade", pck) call(clval, shell=True)
Devamını Oku »