This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:python:jyp_steps [2016/01/22 11:40] jypeter added cdms2/netcdf4 |
other:python:jyp_steps [2016/01/22 13:59] jypeter Started adding JYP's tutorial |
||
---|---|---|---|
Line 4: | Line 4: | ||
This page tries to list some //python for the scientist// related resources, in a suggested reading order. **Do not print anything** (or at least not everything), but it's a good idea to download all the //pdf// files in the same place, so that you can easily open and search the documents | This page tries to list some //python for the scientist// related resources, in a suggested reading order. **Do not print anything** (or at least not everything), but it's a good idea to download all the //pdf// files in the same place, so that you can easily open and search the documents | ||
+ | |||
+ | ===== JYP's introduction to python ===== | ||
+ | |||
+ | You can start using python by reading the {{:other:python:python_intro_ipsl_oct2013_v2.pdf|Bien démarrer avec python}} tutorial that was used during an IPSL python class: | ||
+ | * This tutorial is in French (my apologies | ||
===== The official python documentation ===== | ===== The official python documentation ===== | ||
Line 23: | Line 28: | ||
How to get started? | How to get started? | ||
- | - always remember that indices start at ''0'' and that the last element of an array is at index ''-1''! Learn about indexing and slicing by manipulating a string (try '''This document by JY is awesome!'[::-1]'') | + | - always remember that indices start at ''0'' and that the last element of an array is at index ''-1''!\\ First learn about //indexing// and //slicing// by manipulating strings (try '''This document by JY is awesome!'[::-1]'' and '''This document by JY is awesome!'[slice(None, None, -1)]'') 8-) |
- read the [[https://docs.scipy.org/doc/numpy-dev/user/quickstart.html|Quickstart tutorial]] | - read the [[https://docs.scipy.org/doc/numpy-dev/user/quickstart.html|Quickstart tutorial]] | ||
- have a quick look at the full documentation to know where things are | - have a quick look at the full documentation to know where things are |