Python Seminar
Python Seminar
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 (Youtube)
NASA
Dropbox
IBM
Instagram
Mozilla
Who Uses Python
Yahoo
Quora
Reddit
Red Hat
Git Hub
Cisco
… List goes on …
Releases
hello_world.py
Indentation
Text
Python embraces
indentation
Comments
Types
Strings
Numbers
Null
Lists
Lists
Dictionaries
Dictionary Methods
Booleans
Operators
Arithmetic
String Manipulation
Logical Comparison
Identity Comparison
Arithmetic Comparison
Control Flow
Conditionals
For Loop
Expanded For Loop
While Loop
List Comprehensions
No interfaces
No real private attributes/functions
Private attributes start (but do not end) with double
underscores.
Special class methods start and end with double
underscores.
__init__, __doc__, __cmp__, __str__
Imports
Django
Flask
Pylons
TurboGears
Zope
Grok
IDEs
Emacs
Vim
Komodo
PyCharm
Eclipse (PyDev)
Package Management
Resources
http://python.org/
http://diveintopython.org/
http://djangoproject.com/
Questions?
Thanks!