Raspberry pi & Python. UAC

11

Transcript of Raspberry pi & Python. UAC

Page 1: Raspberry pi & Python. UAC
Page 2: Raspberry pi & Python. UAC

¿Qué es Python?

• Python es un lenguaje de programación orientado a objetos interactivo.

Page 3: Raspberry pi & Python. UAC

¿Porque Python?

FOSS

Page 4: Raspberry pi & Python. UAC

PRINCIPIOS DE PYTHON

Page 5: Raspberry pi & Python. UAC

Tareas habituales de un programador en Python

Un programador en python púede realizar desde programas de escritorio hasta crear paginas web con ayuda de sus muchas librerias y frameworks que le ayudan a optimizar los tiempos de ejecucuion y carga del codigo

Page 6: Raspberry pi & Python. UAC

PYTHON PARA DUMMIES

Page 7: Raspberry pi & Python. UAC

Animación multimedia y juegos con Python en raspberry pi

Page 8: Raspberry pi & Python. UAC

Raspberry pi para gamers

Page 9: Raspberry pi & Python. UAC
Page 10: Raspberry pi & Python. UAC

Test Python

vocales = ["a","e","i","o","u"]

nombre_variable = 3

Exponente=2^2

Orientado a objetos

def sumar(a , b):

num = (1,2,3,4,5)

n = int(input("Escriba un numero"))

Variable

Funcion

leer

Tupla

Lista

Operador aritmetico

Python

Se asigna el tipo en la ejecución

Solo acepta enteros

No inmutable

Dos parametros

Error de sintaxis

Fácil y divertido

Inmutable

Page 11: Raspberry pi & Python. UAC

solución

vocales = ["a","e","i","o","u"]

nombre_variable

Exponente=2^2

Orientado a objetos

def sumar(a , b):

num = (1,2,3,4,5)

n = int(input("Escriba un numero"))

Variable

Funcion

leer

Tupla

Lista

Operador aritmetico

Python

Se asigna el tipo en la ejecución

Solo acepta enteros

No inmutable

Dos parametros

Error sintaxis

Fácil y divertido

Inmutable