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
16
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
27
Aplicações Flask Resilientes com Envoy e Kubernetes
felipemocruha
0
33
Desenvolvendo aplicações web com Flask e Docker
felipemocruha
0
22
Docker e Kubernetes
felipemocruha
0
33
Emacs
felipemocruha
0
20
Data Structures and Performance
felipemocruha
0
23
Observability
felipemocruha
0
34
Testes de Software
felipemocruha
0
13
Other Decks in Technology
See All in Technology
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
100
大規模サーバーレスAPIの堅牢性・信頼性設計 〜AWSのベストプラクティスから始まる現実的制約との向き合い方〜
maimyyym
8
4.3k
AWS Top Engineer、浮いてませんか? / As an AWS Top Engineer, Are You Out of Place?
yuj1osm
2
210
OCI Network Firewall 概要
oracle4engineer
PRO
2
7.9k
速習AGENTS.md:5分で精度を上げる "3ブロック" テンプレ
ismk
6
970
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
480
なぜAWSを活かしきれないのか?技術と組織への処方箋
nrinetcom
PRO
4
770
Azure Well-Architected Framework入門
tomokusaba
1
350
Escaping_the_Kraken_-_October_2025.pdf
mdalmijn
0
160
Performance Insights 廃止から Database Insights 利用へ/transition-from-performance-insights-to-database-insights
emiki
0
230
Git in Team
kawaguti
PRO
3
350
三菱電機・ソニーグループ共同の「Agile Japan企業内サテライト」_2025
sony
0
140
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
A designer walks into a library…
pauljervisheath
209
24k
Site-Speed That Sticks
csswizardry
11
900
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Being A Developer After 40
akosma
91
590k
Facilitating Awesome Meetings
lara
56
6.6k
How to Ace a Technical Interview
jacobian
280
24k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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