Skip to content

lugasraka/python-tutorial

 
 

Repository files navigation

python-tutorial

Binder

Run the tutorial on your computer

0. Prerequisites

To run the tutorial locally, you should first install conda (or mamba).

It is also suggested that you have a recent version of git. Check out how to install git on your operating system.

1. Download the material

Go to the directory on your machine where you want to download the material and clone the repository:

git clone https://github.com/empa-scientific-it/python-tutorial

Alternatively, you can manually download a ZIP archive with the latest version of the material:

Download ZIP archive

Extract the archive in a directory of your choice.

2. Create a dedicated environment

Enter the tutorial folder with

cd /path/to/python-tutorial

You should now create a new environment with conda:

conda env create -f binder/environment.yml

Warning

If you are on Windows and using Command Prompt or the PowerShell, please make sure to adjust the paths in the commands above accordingly.

Then activate the environment with

conda activate python-tutorial

You can update the existing environment (that is, downloading the latest version of the packages) with:

conda env update -f binder/environment.yml

3. Launch the tutorial via Jupyter

Finally, launch JupyterLab with

jupyter lab

About

Material for a Jupyter-based Python tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Jupyter Notebook 82.6%
  • Python 17.4%