novice: Copy-paste from origin/master
[swc-modular-python.git] / index.md
1 ---
2 layout: lesson
3 root: ../..
4 title: Programming with Python
5 level: novice
6 ---
7 The best way to learn how to program is to do something useful,
8 so this introduction to Python is built around a common scientific task:
9 data analysis.
10
11 Our real goal isn't to teach you Python,
12 but to teach you the basic concepts that all programming depends on.
13 We use Python in our lessons because:
14
15 1.  we have to use *something* for examples;
16 2.  it's free, well-documented, and runs almost everywhere;
17 3.  it has a large (and growing) user base among scientists; and
18 4.  experience shows that it's easier for novices to pick up than most other languages.
19
20 But the two most important things are
21 to use whatever language your colleagues are using,
22 so that you can share you work with them easily,
23 and to use that language *well*.
24
25 <div class="toc" markdown="1">
26
27 1.  [Analyzing Patient Data](01-numpy.html)
28 2.  [Creating Functions](02-func.html)
29 3.  [Analyzing Multiple Data Sets](03-loop.html)
30 4.  [Making Choices](04-cond.html)
31 5.  [Defensive Programming](05-defensive.html)
32 6.  [Command-Line Programs](06-cmdline.html)
33
34 </div>