Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome or Safari browser. Firefox 10 and Internet Explorer 10 should also handle it.

Python Indoctrination
For Non-Believers
Matthew Makai
August 21, 2012

What You're Going to Learn


  • Origins of Python
  • Language Comparison
  • Who Uses Python?
  • Excella + Python = ♥
  •  
  • How to Learn More (Camilli)

1991...

WAR

KILLING MACHINES

GRUNGE

PYTHON

Guido Van Rossum

Benevolent Dictator For Life (BDFL)

Monty Python

"Please! This is supposed to be a happy occasion. Let's not bicker and argue over who killed who." - King of Swamp Castle

Make Python fun to use.

The Zen of Python

Python Software Foundation

501(c)(3) non-profit corporation

Language maturation

Python 1.x = 1991

Python 2.x = 2000

Python 3.x = 2008

What You're Going to Learn


  • ✓ Origins of Python
  • Language Comparison
  • Who Uses Python?
  • Excella + Python = ♥
  •  
  • How to Learn More (Camilli)

Maturity

Python is risky because it is so new.

Java in 1991

.NET in 1991

Syntax

1. Read a file

2. Print each line

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());
    }
  }
}

// FML

Python

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

Multiply that scenario dozens of times per day.

Data analysis

NumPy, SciPy, matplotlib

Java

Whitespace "matters"

Python

Whitespace matters

Python vs. Blub

What You're Going to Learn


  • ✓ Origins of Python
  • ✓ Language Comparison
  • Who Uses Python?
  • Excella + Python = ♥
  •  
  • How to Learn More (Camilli)

Generally

Washington, DC

Media

Government

Misc Connections

What You're Going to Learn


  • ✓ Origins of Python
  • ✓ Language Comparison
  • ✓ Who Uses Python?
  • Excella + Python = ♥
  •  
  • How to Learn More (Camilli)

2008

2009 & 2010

2011

Early 2012

Mid 2012

Late 2012

What You're Going to Learn


  • ✓ Origins of Python
  • ✓ Language Comparison
  • ✓ Who Uses Python?
  • ✓ Excella + Python = ♥
  •  
  • How to Learn More (Camilli)

References