pip模块 Usage: pip <command> [options] Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed packages in requirements format. list List installed packages. show Show information about ins
python基础 生成式 列表生成式 格式 [表达式 for 表达式 in 迭代对象 (可加判断)] 原: res1 = [] for i in range(1,5): res1.append(i) print(res1) 改: res2 = [i for i in range(1,5)] print(res2) 字典生成式 格式 {key:value for 表达式 in 迭代对象 (可加判断)} a = "adasdsasad" b = "asdasdasdg"