Download - Hello, Python!
![Page 1: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/1.jpg)
Hello, Python!!Hello, Python!!
PUG-PBPUG-PB
Eduardo Araujo aka DuddaWolfEduardo Araujo aka DuddaWolf
![Page 2: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/2.jpg)
Sobre o PUG-PBSobre o PUG-PB● Site: http://pugpb.wordpress.com● E-mail: [email protected]● Grupo: http://bit.ly/1srpVAq
![Page 3: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/3.jpg)
Sobre mim.Sobre mim.● Carioca.
● Cristão Protestante (Graças a Deus!).
● Ex-aluno do Curso de Gestão da Tecnologia da Informação do Unipê.
● Membro da Python Software Foundation.
● Coordenador Local do PUG-PB – Pólo João Pessoa.
● Embaixador openSUSE.
● Linuxer #548773.
● Ativista FLOSS (Free/Libre Open Source Software) desde 2010.
![Page 4: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/4.jpg)
Sobre este slide
Este slide é baseado em outras apresentações, foram consultados os materiais abaixo:
● Slide: Aula Python de Júlio César Eiras Melanda et al.
● E-book: Python na Prática - http://www.async.com.br/projects/pnp/
● Slide: Python com Baterias Incluídas de John Edson R. de Carvalho
● Slide: Python Training #1 de Prof. Fabio Alexandre Spanhol M.Sc.
![Page 5: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/5.jpg)
Quem criou?Python foi criada em 1989 pelo holandês Guido van Rossum no Centrum voor Wiskunde en Informatica (CWI), em Amsterdã,Holanda.
O nome Python teve a sua origem no grupo humorístico britânico Monty Python, criador do programa Monty Python’s Flying Circus, embora muitas pessoas façam associação com o réptil do mesmo nome.
![Page 6: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/6.jpg)
Características● InterpretadaInterpretada – facilita a portabilidade– facilita a portabilidade● InterativaInterativa – facilita testes,– facilita testes,
desenvolvimento rápido, protótipos;desenvolvimento rápido, protótipos;● Orientada a ObjetosOrientada a Objetos – números, – números, strings, strings,
funções, instâncias, métodos...funções, instâncias, métodos...● Fortemente TipadaFortemente Tipada – não se mistura – não se mistura tipos tipos
automaticamente;automaticamente;● Tipagem DinâmicaTipagem Dinâmica – a tipagem de – a tipagem de objeto é objeto é
feita em tempo de execução. Um objeto tem feita em tempo de execução. Um objeto tem tipo, uma variável não.tipo, uma variável não.
![Page 7: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/7.jpg)
Porquê Python?● Poderosas Estruturas de Dados Nativas:
(listas, dicionários (hashtables), strings, ... otimizados e de fácil uso;
● Fácil Aprendizagem e Manutenção
● Software Livre - Disponível com código aberto e sem custo.
![Page 8: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/8.jpg)
Porquê Python?● Interoperabilidade com C/C+
+/Java/Delphi/Lua/Ruby● Baterias Incluídas – Extensa
biblioteca padrão que contém diversos recursos úteis.
![Page 9: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/9.jpg)
Porquê Python?● Segundo Guido van Rossum, Python
prepara para Java, C, C++● Sintaxe elegante de alto nível
![Page 10: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/10.jpg)
Onde uso Python?● Linux: Pré-instalado na maioria das
distros.● Mac OS: Pré-instalado.● Windows 95/98/ME/XP/7/8: Baixar o
instalador em: https://www.python.org/download/
● Symbian S60● Android: Python for Android.● iOS: Python for iOS.
![Page 11: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/11.jpg)
Quem usa Python??● Google
● NASA
● Yahoo
● InfoSeek
● MCI Worldcom
● IBM
● Higway
● Industrial Light and Magic
● AstraZeneca
● Honeywell
![Page 12: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/12.jpg)
Quem usa Python no Brasil??Governo Federal
Petrobrás
Serpro
Embratel
Globo.com
StarOne
Conectiva
CPqD
Async
UTFPR
![Page 13: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/13.jpg)
Módulos● Interfaces gráficas
● wxPython● TkInter● PyQt● PyGTK
● Científico e numérico
● numpy● scipy● ScientificPython● BioPython
You want a You want a Pie??Pie??
![Page 14: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/14.jpg)
Módulos Continuação
● Jogos
● Pygame● Imagens
● PyOpenGL● PyOgre● Soya 3D● Panda 3d
● Web
● Django● TurboGears● Zope
![Page 15: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/15.jpg)
Programas que usam Python● YUM
● Wicd
● BitTorrent
● ForecastWatch
● Wing IDE
● Blender (renderização de imagens)
● LibreOffice
● Scribus
● Vim
![Page 16: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/16.jpg)
Programas que usam Python (cont.)
● GIMP
● Inkscape
● Poser
● Jogos
● Battlefield 2 (Windows)● Civilization IV (Windows)● Frequency (PS2)● Star Trek Bridge Commander (Windows)● Vegastrike (Multiplataforma)● Frets On Fire
![Page 17: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/17.jpg)
Frets On Fire
Civilization IV
![Page 18: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/18.jpg)
Mount & Blade
PySol
![Page 19: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/19.jpg)
Inkscape
Poser
![Page 20: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/20.jpg)
InVesalius
![Page 21: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/21.jpg)
O que há de legal no Python?
![Page 22: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/22.jpg)
Python é Zen
>>> import this
PEP 20 -- The Zen of PythonPEP 20 -- The Zen of PythonPor Tim Peters.Por Tim Peters.
http://legacy.python.org/dev/peps/pep-0020/http://legacy.python.org/dev/peps/pep-0020/
![Page 23: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/23.jpg)
FilosofiaDeclaração de Diversidade
A Fundação Python Software e a comunidade Python global lhe saúda e incentiva a participação de todos. Nossa comunidade está baseada no respeito mútuo, tolerância e encorajamento, e estamos trabalhando para ajudar uns aos outros a viver de acordo com esses princípios. Queremos que a nossa comunidade seja mais diversificada: seja você quem for e qual seja sua formação, vamos recebê-lo.
https://www.python.org/community/diversity/
![Page 24: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/24.jpg)
PEPsPython Enhancement Proposals
São documentos padronizados da comunidade
Python. Uma PEP propõe um padrão, melhoria,
funcionalidade, estrutura, explicações sobre
funcionalidades, etc.
http://legacy.python.org/dev/peps/
![Page 25: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/25.jpg)
Apoio da ComunidadeApoio da Comunidade● Grupos de Usuários Locais● Listas de Discussão● Ajuda em tempo real no #python-pt do
freenode.net● PyLadies
A Comunidade do Python é muito grande; diversadiversa e pretende crescer; Python é Open.
![Page 26: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/26.jpg)
Eventos PythonEventos Python● PyCon● Python Brasil● Python Nordeste● Encontro de PyLadies● Encontros dos PUG's
![Page 27: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/27.jpg)
Python tá dominando... CodeEval 2013
![Page 28: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/28.jpg)
Python tá dominando... CodeEval 2014
![Page 29: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/29.jpg)
Desenvolvimento de Apps para Android em Python
● Atualmente utiliza-se o Framework Kivy.
http://kivy.org/#download
![Page 30: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/30.jpg)
Desenvolvimento de Apps para Android em Python
![Page 31: Hello, Python!](https://reader030.vdocuments.mx/reader030/viewer/2022012316/55b41067bb61eb27728b47e9/html5/thumbnails/31.jpg)
print(“Obrigado!”)print(“Obrigado!”)