16
Aprende Python Curso de introducción para programadores

Screencast aprende python - parte 1

Embed Size (px)

Citation preview

Page 1: Screencast   aprende python - parte 1

Aprende Python

Curso de introducción para programadores

Page 2: Screencast   aprende python - parte 1

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?

Page 3: Screencast   aprende python - parte 1

Taller intensivo de Python

Vista rápidaVista rápida

Page 4: Screencast   aprende python - parte 1

Lenguaje multi-propósito

• POO.

• Scripting / Guiones.

• Algo de programación funcional.

• Tipo de datos dinámico.

• Administración automática de memoria.

Page 5: Screencast   aprende python - parte 1

Otros detallitos

• Funcionalidad y sintaxis sencilla. Readability counts.

• Una gran comunidad de entusiastas, usuarios y programadores.

Page 6: Screencast   aprende python - parte 1

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

Page 7: Screencast   aprende python - parte 1

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)

Page 8: Screencast   aprende python - parte 1

Multi plataforma

• Windoze

• Linux

• FreeBSD, NetBSD, OpenBSD

• Java (Jython)

• .NET (IronPython)

• MacOS, Haiku (BeOS)

• Python (Python sobre python - PyPy)

Page 9: Screencast   aprende python - parte 1

¿Quién usa Python?

Page 10: Screencast   aprende python - parte 1

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.

Page 11: Screencast   aprende python - parte 1

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!>>> >>>

Page 12: Screencast   aprende python - parte 1

Taller intensivo de Python

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

Page 13: Screencast   aprende python - parte 1

Documentación en línea

• http://docs.python.org/

• http://learnpythonthehardway.org/

• http://www.learnpython.org/

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

Page 14: Screencast   aprende python - parte 1

Ayuda en español

• http://pythonmexico.org/

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

Page 15: Screencast   aprende python - parte 1

Eso es todo por hoy.

Noe [email protected]

http://noenieto.com@tzicatl

Page 16: Screencast   aprende python - parte 1

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.