Slide 1

Slide 1 text

Python 2.7 & Python 3 A Sacred Love Story Kenneth Reitz

Slide 2

Slide 2 text

Welcome.

Slide 3

Slide 3 text

@kennethreitz

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Python Software Foundation

Slide 6

Slide 6 text

github.com/kennethreitz • ~18 serious projects. • 100+ experiments. • OSX-GCC-Installer: 56TB of downloads. • Requests: 14.3+ million downloads.

Slide 7

Slide 7 text

Other Interests... • Street Photography & Photojournalism • Synthesizers & Music Production • World Travel (~140,000 miles last year) • Public Speaker (29 events last year)

Slide 8

Slide 8 text

Language

Slide 9

Slide 9 text

Early Human: Alone with self & ideas. Self

Slide 10

Slide 10 text

Spoken Language: Express ideas to others. Self Other

Slide 11

Slide 11 text

Written Language: Persists ideas over time. Self Other Time

Slide 12

Slide 12 text

Human hardware hasn't changed — The software has been upgraded.

Slide 13

Slide 13 text

Communication: One-to-One. At first, language was mostly used for a single person to communicate to another single person, or a small group of people. ! This is no longer the case.

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Communication: One-to-Many. • After the printing press, a single privileged entity could communicate to the masses. • Newspapers, Books, Television, Radio, etc. • This formed the narrative of "the public". • Very polarizing — unifying and destructive.

Slide 16

Slide 16 text

Communication: Many-to-Many. ?

Slide 17

Slide 17 text

The Internet!

Slide 18

Slide 18 text

Communication: Many-to-Many. • If you have access to the internet, you have access to a universe of information and ideas. • Anyone can publish anything to any number of people, large or small. A level playing field. • The implications of this are huge.

Slide 19

Slide 19 text

Self Other Time

Slide 20

Slide 20 text

Self Other Time Space

Slide 21

Slide 21 text

Self Other Time Space

Slide 22

Slide 22 text

Self Other Time Space Culture Self-Expression Self-Identity H istory

Slide 23

Slide 23 text

Self Other Time Space Culture Self-Expression Self-Identity H istory Social Media Research & Information Creation & Publishing Consumption & Discovery

Slide 24

Slide 24 text

For the first time in Human History! We have the technology.

Slide 25

Slide 25 text

Python!

Slide 26

Slide 26 text

The Zen of Python >>> import this

Slide 27

Slide 27 text

Beautiful is better than ugly.

Slide 28

Slide 28 text

Explicit is better than implicit.

Slide 29

Slide 29 text

Simple is better than complex.

Slide 30

Slide 30 text

Complex is better than complicated.

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

I am Afraid.

Slide 33

Slide 33 text

I am Terrified.

Slide 34

Slide 34 text

Python

Slide 35

Slide 35 text

Python Python

Slide 36

Slide 36 text

Python 3 Python 2

Slide 37

Slide 37 text

This boundary divides & separates.

Slide 38

Slide 38 text

Python 3 Python 2 Self Other

Slide 39

Slide 39 text

Afraid of Python 3?

Slide 40

Slide 40 text

You are not alone.

Slide 41

Slide 41 text

Experiential Oddities >>> b'hello'[0]! 104! ! >>> str(b'hi')! "b'hi'"! ! >>> bytes(8)! b'\x00\x00\x00\x00\x00\x00\x00\x00'! !

Slide 42

Slide 42 text

Unicode, Codecs, & Friends.

Slide 43

Slide 43 text

The Standard Library is broken.

Slide 44

Slide 44 text

Why?

Slide 45

Slide 45 text

There are no users.

Slide 46

Slide 46 text

"Of course there are users! Everyone's trying Python 3... except me!"

Slide 47

Slide 47 text

Let's look at the data.

Slide 48

Slide 48 text

DATA

Slide 49

Slide 49 text

The Cheesehop (PyPi) • The canonically accepted source of all Python package downloads and installation. • The perfect way to measure language runtime usage distribution. • Sample range: 2014-01-02—2014-01-15.

Slide 50

Slide 50 text

Python 3 Python 2 3,736,829 81,501,026 2014-01-02 — 2014-01-15.

Slide 51

Slide 51 text

Python 3 Python 2 Self Other Current New Users

Slide 52

Slide 52 text

Python Community Core Developers The Great Separation

Slide 53

Slide 53 text

The Current Duality • Library maintainers have to double their efforts to support both Python 2 & Python 3. • Core Maintainers will continue working in a vacuum, furthering separateness & division. • New users will keep coming to Python 3 & Python 2 will slowly attrit into nothing.

Slide 54

Slide 54 text

You are the problem.

Slide 55

Slide 55 text

You are the solution.

Slide 56

Slide 56 text

The Two Become One

Slide 57

Slide 57 text

The Two Become One

Slide 58

Slide 58 text

Look within yourself — before the Python we know & love is only a memory.

Slide 59

Slide 59 text

Stop waiting for the right blog post or conference talk to influence your opinion.

Slide 60

Slide 60 text

Have a direct experience.

Slide 61

Slide 61 text

Share it with us.

Slide 62

Slide 62 text

Look within.

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

No content