Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introdução a Python e seu Ecossistema
Search
felipe
November 20, 2019
Technology
24
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introdução a Python e seu Ecossistema
felipe
November 20, 2019
Transcript
43 slides
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
More Decks by felipe
See All by felipe
Functional Programming with examples
felipemocruha
0
41
Aplicações Flask Resilientes com Envoy e Kubernetes
felipemocruha
0
43
Desenvolvendo aplicações web com Flask e Docker
felipemocruha
0
29
Docker e Kubernetes
felipemocruha
0
58
Emacs
felipemocruha
0
24
Data Structures and Performance
felipemocruha
0
29
Observability
felipemocruha
0
40
Testes de Software
felipemocruha
0
27
Other Decks in Technology
See All in Technology
Taking back control of your AI development
inesmontani
PRO
0
320
kubellの最新データ分析環境
kubell_hr
2
290
テスト自動化の先、テスト自律化に向けて
mineo_matsuya
3
1k
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
360
設計手法を「道具」として使いこなすために
a_suenami
7
1.8k
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
170
Claude Certified Developer – Professional 試験対策
shinoisa
0
290
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
380
Well, that’s weird…
csswizardry
3
260
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
3.7k
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
150
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
650
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
610
Statistics for Hackers
jakevdp
799
230k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570
Exploring anti-patterns in Rails
aemeredith
4
590
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
RailsConf 2023
tenderlove
30
1.6k
Visualization
eitanlees
153
17k