标签:cep python库 code -- div pip color get imp
1 import pip 2 from subprocess import call 3 4 for dist in pip.get_installed_distributions(): 5 try: 6 call("pip install --upgrade " + dist.project_name, shell=True) 7 except Exception as e: 8 print(e)
标签:cep python库 code -- div pip color get imp
原文地址:http://www.cnblogs.com/laresh/p/7642126.html