Skip to content

pnavaro/python-notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder Book

This tutorial is made for scientists who want to learn Python and eventually step from Matlab.

Python is a general programming language with many scientific libraries. It is optimized to be easy to develop in. The same is not true for Matlab which is a domain-specific language.

  1. Install Miniforge

  2. Download this repository:

git clone https://github.com/pnavaro/python-notebooks.git

or download as a zip file.

  1. Create a new conda environment:
conda env create -f environment.yml -n python-navaro
source activate python-navaro  # Linux OS/X
activate python-navaro         # Windows
  1. If you have an existing installation of Jupyter install the new kernel with:
conda run -n python-navaro python -m ipykernel install --user --name python-navaro 
  1. Open notebooks with:
cd python-notebooks
jupyter notebook

Pierre