screencast aprende python - parte 1

Post on 14-Jul-2015

187 Views

Category:

Spiritual

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Aprende Python

Curso de introducción para programadores

Temario

• Tipos de datos básicos.

• Operadores matemáticos y logicos.

• Todo es un objeto.

• Estructuras de control.

• Clases, métodos y funciones.

• Las baterías ya vienen incluidas.

• La letra chiquita del contrato.

• Módulos.

• The cheeseshop: Pypi, eggs y Virtualenv.

• ¿Dónde encontrar más ayuda?

Taller intensivo de Python

Vista rápidaVista rápida

Lenguaje multi-propósito

• POO.

• Scripting / Guiones.

• Algo de programación funcional.

• Tipo de datos dinámico.

• Administración automática de memoria.

Otros detallitos

• Funcionalidad y sintaxis sencilla. Readability counts.

• Una gran comunidad de entusiastas, usuarios y programadores.

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

Multi-propósito

• Web● Zope, Plone, Grok● Pyramid / TurboGears/ Repoze BFG● Django● CherryPy● Werkzeug, Bootlepy, Flask

• XML-RPC, REST, HTTP, FTP, Sockets, etc..

• Multimedia (GStreamer, Blender)

Multi plataforma

• Windoze

• Linux

• FreeBSD, NetBSD, OpenBSD

• Java (Jython)

• .NET (IronPython)

• MacOS, Haiku (BeOS)

• Python (Python sobre python - PyPy)

¿Quién usa Python?

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.

El zen de Python

>>> import this>>> import thisThe Zen of Python, by Tim PetersThe Zen of Python, by Tim Peters

Beautiful is better than ugly.Beautiful is better than ugly.Explicit is better than implicit.Explicit is better than implicit.Simple is better than complex.Simple is better than complex.Complex is better than complicated.Complex is better than complicated.Flat is better than nested.Flat is better than nested.Sparse is better than dense.Sparse is better than dense.Readability counts.Readability counts.Special cases aren't special enough to break the rules.Special cases aren't special enough to break the rules.Although practicality beats purity.Although practicality beats purity.Errors should never pass silently.Errors should never pass silently.Unless explicitly silenced.Unless explicitly silenced.In the face of ambiguity, refuse the temptation to guess.In the face of ambiguity, refuse the temptation to guess.There should be one-- and preferably only one --obvious way to do it.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.Although that way may not be obvious at first unless you're Dutch.Now is better than never.Now is better than never.Although never is often better than *right* now.Although never is often better than *right* now.If the implementation is hard to explain, it's a bad idea.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.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!Namespaces are one honking great idea -- let's do more of those!>>> >>>

Taller intensivo de Python

¿Dónde buscar ayuda?¿Dónde buscar ayuda?

Documentación en línea

• http://docs.python.org/

• http://learnpythonthehardway.org/

• http://www.learnpython.org/

• http://www.greenteapress.com/thinkpython/

Ayuda en español

• http://pythonmexico.org/

• http://mx.groups.yahoo.com/group/pythonmexico/

Eso es todo por hoy.

Noe Nietonnieto@noenieto.com

http://noenieto.com@tzicatl

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.

top related