Real World Python

This Presentation

http://bit.ly/ZINKm9

Matt Makai

Excella Consulting

Matt Makai

Coding Across America

Coding Across America

Why are you here?

Why Python?

The Zen of Python (Abridged)

Java

import java.io.*;

class FileRead {
  public static void main(String args[]) {
    try {
      FileInputStream fstream = 
          new FileInputStream("textfile.txt");
      DataInputStream in = 
          new DataInputStream(fstream);
      BufferedReader br = 
          new BufferedReader(new InputStreamReader(in));
      String strLine;
      while ((strLine = br.readLine()) != null)   {
          System.out.println (strLine);
      }
      in.close();
    } catch (Exception e){
        System.err.println("Error: " + e.getMessage());
    }
  }
}

Python

def read_file(filename):
    with open(filename, 'r') as f:
        print f.read()
        

Web Development

Web Framework Building Blocks

Django Building Blocks

Data analysis

Data analysis libraries

Data analysis + web development

Equals

Resources

Thank you!