Skip to content

Circehacks/CodingCirclePython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodingCirclePython

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.

Prerequisites

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.

Python

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!

Python Style Guide

Lessons

Lesson 1: Variables, expressions, and statements

Follows lesson 2 of UMich course. Introduces values, variables, operators, and statements. Project you create a milestone marker program.

Lesson 2: Conditional Execution

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.

Lesson 3: Functions

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.

Lesson 4: Iteration

Follows lesson 5 of UMich course. Introduces loops and list. Project you will create a program that let you hunt for treasure.

Lesson 5: Strings

Follows lesson 6 of UMich course. Explores strings indexing and functions. Project you create a program that processes DNA.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 97.4%
  • Python 2.6%