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
10
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
23
Aplicações Flask Resilientes com Envoy e Kubernetes
felipemocruha
0
24
Desenvolvendo aplicações web com Flask e Docker
felipemocruha
0
13
Docker e Kubernetes
felipemocruha
0
27
Emacs
felipemocruha
0
16
Data Structures and Performance
felipemocruha
0
18
Observability
felipemocruha
0
27
Testes de Software
felipemocruha
0
9
Other Decks in Technology
See All in Technology
〜小さく始めて大きく育てる〜データ分析基盤の開発から活用まで
kniino
0
2k
Postman v10リリース後を振り返る
nagix
0
130
0→1開発における技術選定において一番大切なこと
bicstone
1
330
TransitGatewayの基礎
toru_kubota
0
230
疲弊しない!AWSセキュリティ統制の考え方 #devio_osakaday1
masahirokawahara
6
5.9k
エンタープライズ環境下での Active Directory の運用 TIPS
tamaiyutaro
1
1.6k
反実仮想機械学習とは何か
usaito
PRO
7
2.4k
プロデザ! BY リクルート vol.18_リクルートのリサーチ実践組織「リサーチブーストコミュニティ」
recruitengineers
PRO
3
240
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.4k
Databricks におけるデータエンジニアリング
databricksjapan
0
380
コンパウンドスタートアップのためのスケーラブルでセキュアなInfrastructure as Codeパイプラインを考える / Scalable and Secure Infrastructure as Code Pipeline for a Compound Startup
yuyatakeyama
3
3.3k
カオナビの利用実績をアウトカムへつなげる旅 / example-of-data-management-startup-in-kaonavi
kaonavi
0
120
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
Visualization
eitanlees
135
14k
Building Adaptive Systems
keathley
30
1.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
344
19k
GitHub's CSS Performance
jonrohan
1023
450k
How STYLIGHT went responsive
nonsquared
92
4.8k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
The Mythical Team-Month
searls
215
42k
Ruby is Unlike a Banana
tanoku
96
10k
Typedesign – Prime Four
hannesfritz
36
2.1k
Embracing the Ebb and Flow
colly
79
4.1k
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