Page 241 - Beginning Programming with Pyth - John Paul Mueller
P. 241
conda config:Configuresthepackagecachesetup.
conda create: Defines a new conda environment that contains a specific list of packages, which makes it easier to manage the packages and can improve application speed.
conda help:Displaysacompletelistofcondacommands.
conda info: Displays the conda configuration information, which includes details on where conda stores packages and where it looks for new packages.
conda install: Installs one or more packages into the default or specified conda environment.
conda list: Outputs a list of conda packages with varying levels of detail. You can specify which packages to list and in which environments to look.
conda remove:Removesoneormorepackagesfromthepackagecache. conda search: Looks for specific packages by using the search criteria
you provide.
conda update: Updates some or all of the packages in the package cache.
These commands can do a lot more than you might think. Of course, it's impossible to memorize all that information, so you can rely on the --help command-line switch to obtain full details on using a particularcommand.Forexample,tolearnmoreaboutconda list,type conda list --help and press Enter.
Importing Packages
To use a package, you must import it. Python places the package code inline with the rest of your application in memory — as if you had created one huge file. Neither file is changed on disk — they're still separate, but the way Python views the code is different.