SlideShare una empresa de Scribd logo
1 de 43
Descargar para leer sin conexión
Python 101
Breve introducción al lenguaje de
programación Python
Ingeniero en Software, co-organizador de la comunidad Python
Dominicana en Santiago. Amante de GNU/Linux y el software libre.
Ciclista de montaña de ocasión. Autodidacta por vocación. Creo
que Python rockea y que puedes "extender tu mente" con Django
Web Framework.
Hola, soy Emilio
Contendido
¿Qué es Python?
Python es un lenguaje de programación de
propósito general creado por
Guido van Rossum.
Acerca de van Rossum.
2 31
“BDFL”
Acerca de van Rossum.
2 3
1991 - 1994
Acerca de van Rossum.
3
2005 - 2012
1991 - 1994
Acerca de van Rossum.
2013 - Actual
1991 - 1994 2005 - 2012
www.python.org
Características de Python.
Python es valorado mayormente por su
sintaxis elegante y código legible.
macOS
Android
Windows
GNU/Linux
Multi-plataforma
Python es un
lenguaje
interpretado.
Python es
fuertemente
tipado
Python es
tipado
dinámicamente
Indentación
en Python
Funciones
en Python
Métodos en
Python
Módulos en
Python
Tipos de datos en Python
Operadores lógicos
Operador Comparación Ejemplo
and ¿Se cumple a y b? True and False # r = False
or ¿Se cumple a o b? True or False # r = True
not No a Not True # r = False
Operadores aritméticos
Operador Descripción Ejemplo
+ Adición 2+2 = 4
- Substracción 3 -1 = 2
* Multiplicación 2 * 6 = 12
** Potencia 2 ** 6 = 64
/ División 6 / 2 = 3
// División entera 5/4 = 1
% Módulo 7 % 2 = 1
Operadores de comparación
Operador Comparación
== Es igual que
!= Es distinto de
< Es menor que
<= Es menor o igual que
> Es mayor que
>= Es mayor o igual que
TIOBE Index Mayo 2017
TIOBE Index Mayo 2017
¿Qué puedo hacer con Python?
Administrar tareas del sistema (scripting).
Aplicaciones de escritorio.
Cálculos financieros.
Análisis de datos.
Video juegos.
Aplicaciones web
Aplicaciones web
Aplicaciones web
Aplicaciones web
Aplicaciones web
¿Preguntas?
Contacto
emilioferreyra@gmail.com
https://github.com/emilioferreyra
https://do.linkedin.com/in/ramon
emilioferreyra
Emilio Ferreyra
Recursos
Nombre Link
Python página principal www.python.org
Libros en español https://pythoniza.me/category/libros/
Django www.djangoproject.com
Jupyter Notebook http://jupyter.org/
Créditos

Más contenido relacionado

La actualidad más candente

Presentation on python
Presentation on pythonPresentation on python
Presentation on pythonwilliam john
 
Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python ProgrammingAkhil Kaushik
 
C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1ReKruiTIn.com
 
C programming language
C programming languageC programming language
C programming languageMaha lakshmi
 
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Edureka!
 
Introduction To Python | Edureka
Introduction To Python | EdurekaIntroduction To Python | Edureka
Introduction To Python | EdurekaEdureka!
 
Python variables and data types.pptx
Python variables and data types.pptxPython variables and data types.pptx
Python variables and data types.pptxAkshayAggarwal79
 
Types of c operators ppt
Types of c operators pptTypes of c operators ppt
Types of c operators pptViraj Shah
 
Pseudocodigo con ejemplos
Pseudocodigo con ejemplosPseudocodigo con ejemplos
Pseudocodigo con ejemplosisabel-fcsyp
 
Introduccion a Python
Introduccion a PythonIntroduccion a Python
Introduccion a Pythonguest44e947
 
Intro to Python Programming Language
Intro to Python Programming LanguageIntro to Python Programming Language
Intro to Python Programming LanguageDipankar Achinta
 

La actualidad más candente (20)

Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python (ejercicios)
Python (ejercicios)Python (ejercicios)
Python (ejercicios)
 
Presentation on python
Presentation on pythonPresentation on python
Presentation on python
 
Introduction to Python Programming
Introduction to Python ProgrammingIntroduction to Python Programming
Introduction to Python Programming
 
C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1
 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
 
Diseño combinacional
Diseño combinacionalDiseño combinacional
Diseño combinacional
 
C programming language
C programming languageC programming language
C programming language
 
C言語超入門
C言語超入門C言語超入門
C言語超入門
 
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
 
C day2
C day2C day2
C day2
 
Introduction To Python | Edureka
Introduction To Python | EdurekaIntroduction To Python | Edureka
Introduction To Python | Edureka
 
Python variables and data types.pptx
Python variables and data types.pptxPython variables and data types.pptx
Python variables and data types.pptx
 
Amarração e escopo
Amarração e escopoAmarração e escopo
Amarração e escopo
 
Types of c operators ppt
Types of c operators pptTypes of c operators ppt
Types of c operators ppt
 
Pseudocodigo con ejemplos
Pseudocodigo con ejemplosPseudocodigo con ejemplos
Pseudocodigo con ejemplos
 
Python Tutorial Part 1
Python Tutorial Part 1Python Tutorial Part 1
Python Tutorial Part 1
 
Introduccion a Python
Introduccion a PythonIntroduccion a Python
Introduccion a Python
 
Intro to Python Programming Language
Intro to Python Programming LanguageIntro to Python Programming Language
Intro to Python Programming Language
 
Linguagem C 10 Arquivos
Linguagem C 10 ArquivosLinguagem C 10 Arquivos
Linguagem C 10 Arquivos
 

Similar a Python 101 breve introducción al lenguaje python

Similar a Python 101 breve introducción al lenguaje python (20)

Introducción a Python
Introducción a Python Introducción a Python
Introducción a Python
 
Aprende más sobre Python
Aprende más sobre PythonAprende más sobre Python
Aprende más sobre Python
 
Aprendamos python
Aprendamos pythonAprendamos python
Aprendamos python
 
Clase 1- Fundamentos de programacion en Phyton.pptx
Clase 1- Fundamentos de programacion en Phyton.pptxClase 1- Fundamentos de programacion en Phyton.pptx
Clase 1- Fundamentos de programacion en Phyton.pptx
 
python-para-todos.pdf
python-para-todos.pdfpython-para-todos.pdf
python-para-todos.pdf
 
Python para todos
Python para todosPython para todos
Python para todos
 
Python para Todos
Python para TodosPython para Todos
Python para Todos
 
python-para-todos.pdf
python-para-todos.pdfpython-para-todos.pdf
python-para-todos.pdf
 
Python para todos
Python para todosPython para todos
Python para todos
 
Libro python para todos
Libro   python para todosLibro   python para todos
Libro python para todos
 
Python para todos
Python para todosPython para todos
Python para todos
 
Python_para_todos.pdf
Python_para_todos.pdfPython_para_todos.pdf
Python_para_todos.pdf
 
Python_para_todos.pdf
Python_para_todos.pdfPython_para_todos.pdf
Python_para_todos.pdf
 
Python power 1
Python power 1Python power 1
Python power 1
 
Manual de python
Manual de pythonManual de python
Manual de python
 
Introduccion-a-Python.pdf
Introduccion-a-Python.pdfIntroduccion-a-Python.pdf
Introduccion-a-Python.pdf
 
Trabajo de python
Trabajo de pythonTrabajo de python
Trabajo de python
 
1 curso-de-python-introducci-n-a-python
1 curso-de-python-introducci-n-a-python1 curso-de-python-introducci-n-a-python
1 curso-de-python-introducci-n-a-python
 
Lenguaje de programación Python
Lenguaje de programación PythonLenguaje de programación Python
Lenguaje de programación Python
 
Resumen python
Resumen pythonResumen python
Resumen python
 

Último

BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...
BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...
BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...ITeC Instituto Tecnología Construcción
 
Introducción a Funciones LENGUAJE DART FLUTTER
Introducción a Funciones LENGUAJE DART FLUTTERIntroducción a Funciones LENGUAJE DART FLUTTER
Introducción a Funciones LENGUAJE DART FLUTTEREMMAFLORESCARMONA
 
Segmentacion Segmantica_Modelos UNET and DEEPLABV3
Segmentacion Segmantica_Modelos UNET and DEEPLABV3Segmentacion Segmantica_Modelos UNET and DEEPLABV3
Segmentacion Segmantica_Modelos UNET and DEEPLABV3AlexysCaytanoMelndez1
 
Unidad_3_T1_AutomatasFinitos presentacion
Unidad_3_T1_AutomatasFinitos presentacionUnidad_3_T1_AutomatasFinitos presentacion
Unidad_3_T1_AutomatasFinitos presentacionarmando_cardenas
 
Manual de Usuario APPs_AppInventor-2023.pdf
Manual de Usuario APPs_AppInventor-2023.pdfManual de Usuario APPs_AppInventor-2023.pdf
Manual de Usuario APPs_AppInventor-2023.pdfmasogeis
 
Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Opentix
 
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLO
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLOPARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLO
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLOSelenaCoronadoHuaman
 

Último (7)

BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...
BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...
BREEAM ES Urbanismo como herramienta para un planeamiento sostenible - Miguel...
 
Introducción a Funciones LENGUAJE DART FLUTTER
Introducción a Funciones LENGUAJE DART FLUTTERIntroducción a Funciones LENGUAJE DART FLUTTER
Introducción a Funciones LENGUAJE DART FLUTTER
 
Segmentacion Segmantica_Modelos UNET and DEEPLABV3
Segmentacion Segmantica_Modelos UNET and DEEPLABV3Segmentacion Segmantica_Modelos UNET and DEEPLABV3
Segmentacion Segmantica_Modelos UNET and DEEPLABV3
 
Unidad_3_T1_AutomatasFinitos presentacion
Unidad_3_T1_AutomatasFinitos presentacionUnidad_3_T1_AutomatasFinitos presentacion
Unidad_3_T1_AutomatasFinitos presentacion
 
Manual de Usuario APPs_AppInventor-2023.pdf
Manual de Usuario APPs_AppInventor-2023.pdfManual de Usuario APPs_AppInventor-2023.pdf
Manual de Usuario APPs_AppInventor-2023.pdf
 
Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200Caso de éxito de Hervian con el ERP Sage 200
Caso de éxito de Hervian con el ERP Sage 200
 
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLO
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLOPARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLO
PARTES DEL TECLADO Y SUS FUNCIONES - EJEMPLO
 

Python 101 breve introducción al lenguaje python