This is a series of ipython notebooks and projects that follow along with the University of Michigan class Python for Informatics. They are intended to be an easy way to practice what you have learned.
You need to have the anaconda distribution of python 2.7 installed. We will be using ipython notebook, if you are new to this I recommend this tutorial from OpenTechSchool. You will also need a text editor to open the solutions for the projects. I recommend Sublime Text. Other options include Notepad, Notepad++, Text Wrangler, or Atom.
The Zen of Python
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
Follows lesson 2 of UMich course. Introduces values, variables, operators, and statements. Project you create a milestone marker program.
Follows lesson 3 of UMich course. Introduces comparison and logical operators, if statements, and try except blocks. Project you create a program to suggest which car to buy.
Follows lesson 4 of UMich course. Introduces functions, modules, parameters, arguments, and the return statement. Project you will create a program that lets you roll the die in yatzee.
Follows lesson 5 of UMich course. Introduces loops and list. Project you will create a program that let you hunt for treasure.
Follows lesson 6 of UMich course. Explores strings indexing and functions. Project you create a program that processes DNA.