Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introdução a Python e seu Ecossistema
Search
felipe
November 20, 2019
Technology
0
18
Introdução a Python e seu Ecossistema
felipe
November 20, 2019
Tweet
Share
More Decks by felipe
See All by felipe
Functional Programming with examples
felipemocruha
0
28
Aplicações Flask Resilientes com Envoy e Kubernetes
felipemocruha
0
36
Desenvolvendo aplicações web com Flask e Docker
felipemocruha
0
24
Docker e Kubernetes
felipemocruha
0
42
Emacs
felipemocruha
0
20
Data Structures and Performance
felipemocruha
0
24
Observability
felipemocruha
0
34
Testes de Software
felipemocruha
0
14
Other Decks in Technology
See All in Technology
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
190
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
590
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
190
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
620
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
160
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
17k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
Red Hat OpenStack Services on OpenShift
tamemiya
0
120
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
960
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
We Are The Robots
honzajavorek
0
160
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
Un-Boring Meetings
codingconduct
0
200
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Odyssey Design
rkendrick25
PRO
1
500
How to train your dragon (web standard)
notwaldorf
97
6.5k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
320
The Invisible Side of Design
smashingmag
302
51k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
Introdução a Python e seu Ecossistema
• Criada por Guido van Rossum e lançada em 1991
• Multi-paradigma • Interpretada • Tipagem dinâmica • Expressiva • O nome veio do programa de TV “Monty Python’s Flying Circus” 2 Python?
• “I decided to write an interpreter for the new
scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers” (Guido van Rossum) • Simplicidade acima de complexidade • Ênfase na legibilidade do código • Fácil de aprender 3 Motivações
4 Origens Algol 60 Pascal Oberon Modula-3 ABC Python C
LISP Haskell Perl C++ Java
5 Filosofia
6 PEP8 (Python Enhancement Proposals)
7 Expressividade https://xkcd.com/353/
8 Popularidade https://stackoverflow.blog/2017/09/06/incredible-growth-python/
9 Quem usa?
10 Bibliotecas - Bancos de dados
11 Bibliotecas - Desenvolvimento Web
12 Bibliotecas - Análise de dados
13 Bibliotecas - Visualização
14 Bibliotecas - Machine Learning
15 Bibliotecas - Networking
16 Bibliotecas - Monitoramento
17 Bibliotecas - Web Scraping
18 Bibliotecas - Ambiente e linha de comando virtualenv pip
easy_install
19 Implementações
20 Onde aprender mais? • https://github.com/vinta/awesome-python • https://www.codecademy.com/learn/learn-python • https://learnxinyminutes.com/docs/python/
• http://docs.python-guide.org/en/latest/ • https://www.fullstackpython.com
21 Livros
22 Documentação
ESTRUTURA E SINTAXE
• Booleano True ou False • Números 3, 3.141592, 5
+ 3j • Strings “Isso é um texto” • Listas [1, 2, 3, 4, 5] • Tuplas (1, 2, 3, 4, 5) • Sets {1, 2, 3, 4, 5} • Dicionários { ‘a’: 1, ‘b’: 2, ‘c’: 3 } • Bytes b‘The type of this is bytes’ 24 Tipos de dados
25 Controle de fluxo
26 Funções
27 Funções
28 Listas
29 Dicionários (Hash-map)
30 Exceções
31 Exceções
32 I/O - Formatação
33 I/O - Arquivos
34 I/O - Logging
35 I/O - STDIN e STDOUT
36 Classes e métodos
37 Imports
38 Imports
39 virtualenv e pip
40 virtualenv e pip
41 virtualenv e pip
SHUT UP AND SHOW ME THE CODE!
43 Exemplos https://github.com/felipemocruha/semcomp-beta