Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting started with python

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Getting started with python

durianpy presentation

Avatar for Earvin Gemenez

Earvin Gemenez

April 12, 2014

More Decks by Earvin Gemenez

Other Decks in Programming

Transcript

  1. Python language • got the name from Monty Python’s Flying

    Circus • Multi-paradigm programming language • Object Oriented • Functional • Procedural • Reflective • implementation in December 1989 by Guido • in 2011, it is the 3rd most popular language in github
  2. Python language • Open source • Fast ( PyPy )

    • Batteries included language
  3. Writing idiomatic python 'There should be one-- and preferably only

    one --obvious way to do it’ from `The zen of python` by Tim Peters
  4. Indenting Code • have no explicit begin or end! •

    No curly braces to mark where the function starts and stops • The only delimiter is a colon (:) and the indention of the code itself
  5. Philosophy of Core Devs • Conservative growth • Aim for

    a simple implementation • “We read Knuth so you don’t have to”
  6. 15 of cool things you can do with python (I

    expect some applause here…-____-‘ )
  7. #1: You can run it anywhere! • Linux • Mac

    OS X • Windows • Solaris • HP-UX • OS/2 • Android OS • JVM • .NET • FreeBSD • BSD (and some other BSD) https://www.python.org/downloads/
  8. #2 learn it fast • Easy to learn but very

    powerful • for experienced or beginner developers (doesn’t matter) • get up to speed in days (not months/years)
  9. Q: How did the programmer die in the shower? AHA

    jokes! A: He read the shampoo bottle instructions: Lather. Rinse. Repeat.
  10. #8 List, #9 Tuples • List are mutable • Tuples

    are not mutable • List comprehension