SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
PYTHON 3
Introducción y conceptos básicos
QUÉ ES PYTHON?
• Lenguaje interpretado
• Human-friendly
• De desarrollo rápido
• Muy fácil de aprender
QUÉ ES PYTHON?
• Lenguaje interpretado
• Human-friendly
• De desarrollo rápido
• Muy fácil de aprender
VERSIONES
• Python 2.7.x
• Python 3.x -> Python 3.4
INCONVENIENTES DE
PYTHON
• No tiene multi-threading real
• La herencia y el polimorfismo es simulado
• No tiene propiedad/métodos privados
INCONVENIENTES DE
PYTHON
• No tiene multi-threading real
• La herencia y el polimorfismo es simulado
• No tiene propiedad/métodos privados
PUNTOS FUERTES
• Tratamiento de cadenas
• El framework incluye prácticamente toda la funcionalidad
necesaria
• Muy bueno en tareas de red
• Gestión de paquetes muy sencilla
• Millones de paquetes y software reutilizare existente
EJEMPLOS
• 1 - Hola mundo
• 2 - Hola mundo bien estructurado
• 3 - Gestión de dependencias
• 4 -Virtualenvs
• 5 - Llamada a servicio REST
• 6 -Tratamiento de cadenas / ficheros
COSAS CURIOSAS DE
PYTHON
• Generadores/set/
listas
• With …
• __dict__ de las clases
• Switch / case no
existe
• null -> None
• Partials
• Diccionarios y
defaultsdict
• La sentencia For…
else
http://javarevisited.blogspot.com.es/2013/11/java-vs-python-which-programming-laungage-to-learn-first.html
MEJORAS PYTHON 3
• Estabilidad
• Diseño
• Rendimiento por defecto
• Nuevas librerías nativas
• AsyncIO
LIBRERÍAS MÁS USADAS
• Django
• Celery
• SQL Alchemy
• Lxml
• Scrapy
• pytest
• NTLK
• BeautifulSoup
• Pillow
• Scapy
• cython
• Mongo/TinyDB/Codernity

Weitere ähnliche Inhalte

Andere mochten auch

Qué es el fingerprinting: Definición, peligros y medidas mitigadoras
Qué es el fingerprinting: Definición, peligros y medidas mitigadorasQué es el fingerprinting: Definición, peligros y medidas mitigadoras
Qué es el fingerprinting: Definición, peligros y medidas mitigadoras
Daniel Garcia (a.k.a cr0hn)
 

Andere mochten auch (20)

Security in NodeJS applications
Security in NodeJS applicationsSecurity in NodeJS applications
Security in NodeJS applications
 
The art of disguise - Antifingerprinting techniques
The art of disguise - Antifingerprinting techniquesThe art of disguise - Antifingerprinting techniques
The art of disguise - Antifingerprinting techniques
 
Qué es el fingerprinting: Definición, peligros y medidas mitigadoras
Qué es el fingerprinting: Definición, peligros y medidas mitigadorasQué es el fingerprinting: Definición, peligros y medidas mitigadoras
Qué es el fingerprinting: Definición, peligros y medidas mitigadoras
 
Extreme security in web servers
Extreme security in  web serversExtreme security in  web servers
Extreme security in web servers
 
GoLismero: The Web Knife
GoLismero: The Web KnifeGoLismero: The Web Knife
GoLismero: The Web Knife
 
Tu DevOp me da trabajo: Soy auditor de seguridad
Tu DevOp me da trabajo: Soy auditor de seguridadTu DevOp me da trabajo: Soy auditor de seguridad
Tu DevOp me da trabajo: Soy auditor de seguridad
 
Talking TUF: Securing Software Distribution
Talking TUF: Securing Software DistributionTalking TUF: Securing Software Distribution
Talking TUF: Securing Software Distribution
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen Day'The History of Metrics According to me' by Stephen Day
'The History of Metrics According to me' by Stephen Day
 
Prometheus design and philosophy
Prometheus design and philosophy   Prometheus design and philosophy
Prometheus design and philosophy
 
Orchestrating Least Privilege by Diogo Monica
Orchestrating Least Privilege by Diogo Monica Orchestrating Least Privilege by Diogo Monica
Orchestrating Least Privilege by Diogo Monica
 
Infinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container EnvironmentsInfinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container Environments
 
Docker Online Meetup: Infrakit update and Q&A
Docker Online Meetup: Infrakit update and Q&ADocker Online Meetup: Infrakit update and Q&A
Docker Online Meetup: Infrakit update and Q&A
 
Persistent storage tailored for containers
Persistent storage tailored for containersPersistent storage tailored for containers
Persistent storage tailored for containers
 
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
 
Docker Roadshow 2016
Docker Roadshow 2016Docker Roadshow 2016
Docker Roadshow 2016
 
Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0 Online Meetup: What's new in docker 1.13.0
Online Meetup: What's new in docker 1.13.0
 
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep DiveDocker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
 
Containerd - core container runtime component
Containerd - core container runtime component Containerd - core container runtime component
Containerd - core container runtime component
 
Docker Networking: Control plane and Data plane
Docker Networking: Control plane and Data planeDocker Networking: Control plane and Data plane
Docker Networking: Control plane and Data plane
 

Ähnlich wie Introduccion muy básica a Python

Screencast aprende python - parte 1
Screencast   aprende python - parte 1Screencast   aprende python - parte 1
Screencast aprende python - parte 1
Noe Nieto
 
BilboStack - Php en el 2012
BilboStack - Php en el 2012BilboStack - Php en el 2012
BilboStack - Php en el 2012
Asier Marqués
 
Sesión 1: Python
Sesión 1: PythonSesión 1: Python
Sesión 1: Python
maluacsa
 

Ähnlich wie Introduccion muy básica a Python (20)

Screencast aprende python - parte 1
Screencast   aprende python - parte 1Screencast   aprende python - parte 1
Screencast aprende python - parte 1
 
Argentesting 2019 - Por que-python-esta-buenisimo
Argentesting 2019 - Por que-python-esta-buenisimoArgentesting 2019 - Por que-python-esta-buenisimo
Argentesting 2019 - Por que-python-esta-buenisimo
 
Python-01.pdf
Python-01.pdfPython-01.pdf
Python-01.pdf
 
BilboStack - Php en el 2012
BilboStack - Php en el 2012BilboStack - Php en el 2012
BilboStack - Php en el 2012
 
Python.pptx
Python.pptxPython.pptx
Python.pptx
 
Sesión 1: Python
Sesión 1: PythonSesión 1: Python
Sesión 1: Python
 
Python
PythonPython
Python
 
Codemotion 2021 - The Rustalorian: Este es el camino
Codemotion 2021 - The Rustalorian: Este es el caminoCodemotion 2021 - The Rustalorian: Este es el camino
Codemotion 2021 - The Rustalorian: Este es el camino
 
Social Erlang
Social ErlangSocial Erlang
Social Erlang
 
Python y la POO, en una clase, UNNe-Corrientes
Python y la POO, en una clase, UNNe-CorrientesPython y la POO, en una clase, UNNe-Corrientes
Python y la POO, en una clase, UNNe-Corrientes
 
Temas cursos
Temas   cursosTemas   cursos
Temas cursos
 
Introducción a Phyton
Introducción a PhytonIntroducción a Phyton
Introducción a Phyton
 
Usemos un raspberry pi para analizar el funcionamiento
Usemos un raspberry pi para analizar el funcionamientoUsemos un raspberry pi para analizar el funcionamiento
Usemos un raspberry pi para analizar el funcionamiento
 
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
 
Sistemas distribuidosz
Sistemas distribuidoszSistemas distribuidosz
Sistemas distribuidosz
 
PYTHON.pptx
PYTHON.pptxPYTHON.pptx
PYTHON.pptx
 
Sistema linux
Sistema linuxSistema linux
Sistema linux
 
Gestión Remota de Equipos con Python
Gestión Remota de Equipos con PythonGestión Remota de Equipos con Python
Gestión Remota de Equipos con Python
 
Técnicas de escaneo masivo - 11/2013
Técnicas de escaneo masivo - 11/2013Técnicas de escaneo masivo - 11/2013
Técnicas de escaneo masivo - 11/2013
 
Conferencia Ethical Hacking- UISRAEL
Conferencia Ethical Hacking- UISRAELConferencia Ethical Hacking- UISRAEL
Conferencia Ethical Hacking- UISRAEL
 

Mehr von Daniel Garcia (a.k.a cr0hn)

Mehr von Daniel Garcia (a.k.a cr0hn) (9)

Sonatype DevSecOps Leadership forum 2020
Sonatype DevSecOps Leadership forum 2020Sonatype DevSecOps Leadership forum 2020
Sonatype DevSecOps Leadership forum 2020
 
Rooted con 2020 - from the heaven to hell in the CI - CD
Rooted con 2020 - from the heaven to hell in the CI - CDRooted con 2020 - from the heaven to hell in the CI - CD
Rooted con 2020 - from the heaven to hell in the CI - CD
 
12 tricks to avoid hackers breaks your CI / CD
12 tricks to avoid hackers breaks your  CI / CD12 tricks to avoid hackers breaks your  CI / CD
12 tricks to avoid hackers breaks your CI / CD
 
Security in AWS Lambdas - NavajaNegra CON 2018
Security in AWS Lambdas - NavajaNegra CON 2018Security in AWS Lambdas - NavajaNegra CON 2018
Security in AWS Lambdas - NavajaNegra CON 2018
 
Rooted 2018 - Crawlino: The next level of crawling systems
Rooted 2018 - Crawlino: The next level of crawling systemsRooted 2018 - Crawlino: The next level of crawling systems
Rooted 2018 - Crawlino: The next level of crawling systems
 
Ingenieria social aplicada: Mucho mas fácil de lo que parece
Ingenieria social aplicada: Mucho mas fácil de lo que pareceIngenieria social aplicada: Mucho mas fácil de lo que parece
Ingenieria social aplicada: Mucho mas fácil de lo que parece
 
Ingeniería social aplicada: Mucho más fácil de lo que parece
Ingeniería social aplicada: Mucho más fácil de lo que pareceIngeniería social aplicada: Mucho más fácil de lo que parece
Ingeniería social aplicada: Mucho más fácil de lo que parece
 
RootedCON 2017 - Docker might not be your friend. Trojanizing Docker images
RootedCON 2017 - Docker might not be your friend. Trojanizing Docker imagesRootedCON 2017 - Docker might not be your friend. Trojanizing Docker images
RootedCON 2017 - Docker might not be your friend. Trojanizing Docker images
 
III Hack and beers: evadiendo técnicas de fingerprinting en Linux y Wordpress
III Hack and beers: evadiendo técnicas de fingerprinting en Linux y WordpressIII Hack and beers: evadiendo técnicas de fingerprinting en Linux y Wordpress
III Hack and beers: evadiendo técnicas de fingerprinting en Linux y Wordpress
 

Introduccion muy básica a Python

  • 1. PYTHON 3 Introducción y conceptos básicos
  • 2. QUÉ ES PYTHON? • Lenguaje interpretado • Human-friendly • De desarrollo rápido • Muy fácil de aprender
  • 3. QUÉ ES PYTHON? • Lenguaje interpretado • Human-friendly • De desarrollo rápido • Muy fácil de aprender
  • 4. VERSIONES • Python 2.7.x • Python 3.x -> Python 3.4
  • 5. INCONVENIENTES DE PYTHON • No tiene multi-threading real • La herencia y el polimorfismo es simulado • No tiene propiedad/métodos privados
  • 6. INCONVENIENTES DE PYTHON • No tiene multi-threading real • La herencia y el polimorfismo es simulado • No tiene propiedad/métodos privados
  • 7. PUNTOS FUERTES • Tratamiento de cadenas • El framework incluye prácticamente toda la funcionalidad necesaria • Muy bueno en tareas de red • Gestión de paquetes muy sencilla • Millones de paquetes y software reutilizare existente
  • 8. EJEMPLOS • 1 - Hola mundo • 2 - Hola mundo bien estructurado • 3 - Gestión de dependencias • 4 -Virtualenvs • 5 - Llamada a servicio REST • 6 -Tratamiento de cadenas / ficheros
  • 9. COSAS CURIOSAS DE PYTHON • Generadores/set/ listas • With … • __dict__ de las clases • Switch / case no existe • null -> None • Partials • Diccionarios y defaultsdict • La sentencia For… else http://javarevisited.blogspot.com.es/2013/11/java-vs-python-which-programming-laungage-to-learn-first.html
  • 10. MEJORAS PYTHON 3 • Estabilidad • Diseño • Rendimiento por defecto • Nuevas librerías nativas • AsyncIO
  • 11. LIBRERÍAS MÁS USADAS • Django • Celery • SQL Alchemy • Lxml • Scrapy • pytest • NTLK • BeautifulSoup • Pillow • Scapy • cython • Mongo/TinyDB/Codernity