|
A = [1,2,3]
B = A[:] |
create new list as copy
|
|
conda create --name <env name> python=<version>
|
create environment
|
|
conda activate <env name>
|
activate environment
|
|
conda deactivate
|
deactivate environment
|
|
conda install <pkg name>
|
install package
|
|
conda update conda
|
update conda
|
|
conda info
|
verify conda is installed, check version number
|
|
conda env list
|
list of environments
|
|
conda list
|
list all packages and versions installed in active environment
|
|
conda list --explicit > <text file>
|
save environment to a text file
|
|
conda env create --file <text file>
|
create environment from a text file
|
|
where python
|
location of python installs
|
|
python --version
|
python version
|
|
jupyter notebook --generate-config
|
|
This writes a file to C:\Users\username\.jupyter\jupyter_notebook_config.py
|
|
Change this line
#c.NotebookApp.notebook_dir = '' to this text c.NotebookApp.notebook_dir = '/the/path/to/home/folder/' |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.