Introduction To Python: A Readable, Dynamic, Pleasant, Flexible, Fast and Powerful Language
Introduction To Python: A Readable, Dynamic, Pleasant, Flexible, Fast and Powerful Language
Introduction To Python: A Readable, Dynamic, Pleasant, Flexible, Fast and Powerful Language
Nowell Strite
Manager of Tech Solutions @ PBS
[email protected]
Overview
• Background
• Syntax
• Types / Operators / Control Flow
• Functions
• Classes
• Tools
What is Python
• Batteries Included
• Everything is an Object
• Interactive Shell
• Strong Introspection
• Cross Platform
• CPython, Jython, IronPython, PyPy
Who Uses Python
• Google
• PBS
• NASA
• Library of Congress
• the ONION
• ...the list goes on...
Releases
• Created in 1989 by Guido Van Rossum
• Python 1.0 released in 1994
• Python 2.0 released in 2000
• Python 3.0 released in 2008
• Python 2.7 is the recommended version
• 3.0 adoption will take a few years
Syntax
Hello World
hello_world.py
Indentation
Text
• Emacs
• Vim
• Komodo
• PyCharm
• Eclipse (PyDev)
Package Management
Resources
• http://python.org/
• http://diveintopython.org/
• http://djangoproject.com/
Example
Going Further
• Decorators
• Context Managers
• Lambda functions
• Generators
• ...
Questions?
Thanks!