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
15
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
26
Aplicações Flask Resilientes com Envoy e Kubernetes
felipemocruha
0
32
Desenvolvendo aplicações web com Flask e Docker
felipemocruha
0
21
Docker e Kubernetes
felipemocruha
0
31
Emacs
felipemocruha
0
19
Data Structures and Performance
felipemocruha
0
22
Observability
felipemocruha
0
33
Testes de Software
felipemocruha
0
12
Other Decks in Technology
See All in Technology
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
2
7k
SmartNewsにおける 1000+ノード規模 K8s基盤 でのコスト最適化 – Spot・Gravitonの大規模導入への挑戦
vsanna2
0
130
AWS認定を取る中で感じたこと
siromi
1
190
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
440
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
170
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
4
13k
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
380
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
230
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
1
16k
開発生産性を測る前にやるべきこと - 組織改善の実践 / Before Measuring Dev Productivity
kaonavi
9
4.2k
AI専用のリンターを作る #yumemi_patch
bengo4com
5
4.3k
PO初心者が考えた ”POらしさ”
nb_rady
0
210
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Documentation Writing (for coders)
carmenintech
72
4.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
970
Unsuck your backbone
ammeep
671
58k
Raft: Consensus for Rubyists
vanstee
140
7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Embracing the Ebb and Flow
colly
86
4.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
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