2. Temario
• Tipos de datos básicos. • La letra chiquita del contrato.
• Operadores matemáticos y • Módulos.
logicos.
• The cheeseshop: Pypi, eggs
• Todo es un objeto. y Virtualenv.
• Estructuras de control. • ¿Dónde encontrar más
ayuda?
• Clases, métodos y funciones.
• Las baterías ya vienen
incluidas.
4. Lenguaje multi-propósito
• POO.
• Scripting / Guiones.
• Algo de programación funcional.
• Tipo de datos dinámico.
• Administración automática de memoria.
5. Otros detallitos
• Funcionalidad y sintaxis sencilla. Readability
counts.
• Una gran comunidad de entusiastas, usuarios y
programadores.
6. Multi-propósito
• Administración de servidores (scripting y
granjas de servidores).
• Sistemas distribuidos.
• Paralelismo (Hilos, multiprocesos y SMP).
• Interfaz con hardware y drivers (C, C++).
• Interfaces gráficas (Gtk+, QT, Windows,
MacOS)
• Sistemas empotrados
10. Versiones
• Python 2.0 en 2000.
• Python < 2.7 = obsoleto. (Aunque algunos usan
Python 2.4 aún).
• Python 3 alias Python 3k ya ha salido, pero aún
no se encuentra en uso masivo.
11. El zen de Python
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
>>>
13. Documentación en línea
• http://docs.python.org/
• http://learnpythonthehardway.org/
• http://www.learnpython.org/
• http://www.greenteapress.com/thinkpython/
14. Ayuda en español
• http://pythonmexico.org/
• http://mx.groups.yahoo.com/group/pythonmexic
o/
15. Eso es todo por hoy.
Noe Nieto
nnieto@noenieto.com
http://noenieto.com
@tzicatl
16. Aprende Python ha sido compilado por Noe
Misael Nieto Arroyo y se encuentra bajo una
Licencia Creative Commons Atribución-
CompartirIgual 2.5 México.