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
Python - Uma Rápida Introdução
Search
wagnerdevel
October 31, 2013
Programming
41
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python - Uma Rápida Introdução
wagnerdevel
October 31, 2013
More Decks by wagnerdevel
See All by wagnerdevel
Coding Dojo
wagnerdevel
0
48
Other Decks in Programming
See All in Programming
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
190
Java 27新機能 / Java 27 new features
kishida
2
200
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
480
Jetpack Compose Mechanisms
skydoves
2
470
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
140
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
580
APNsからLive Activityを開始する話
yumnumm
0
150
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
6.9k
カツオ、ご期待ください
suneo3476
0
150
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
300
setup-vp GitLab対応の裏側
naokihaba
0
150
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Music & Morning Musume
bryan
48
7.4k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
RailsConf 2023
tenderlove
30
1.6k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
We Are The Robots
honzajavorek
0
390
Transcript
Python Uma Rápida Introdução XXII Simpósio de Inovação em Tecnologias
Computacionais SITIS 2013 01 de Novembro de 2013
Guido van Rossum - 1990 Instituto Nacional de Pesquisa para
Matemática e Ciência da Computação da Holanda [“físicos”, “engenheiro”] Concebido da linguagem ABC Atualmente trabalha para Dropbox
CARACTERÍSTICAS Python – Uma Rápida Introdução – SITIS 2013 ü
Linguagem de alto nível – VHLL ü Multiparadigma ü modular ü funcional ü orientação a objetos ü Tudo é objeto ü Duck typing ü Tipagem forte ü Interativa e interpretada ü Bytecode
ORGANIZAÇÕES QUE USAM PYTHON Python – Uma Rápida Introdução –
SITIS 2013
Talk is cheap. Show me the code.
SINTAXE Python – Uma Rápida Introdução – SITIS 2013 Comentário
funcional Comentário Início de bloco Endentação
VARIÁVEIS Python – Uma Rápida Introdução – SITIS 2013 v
São criadas através da atribuição v Destruídas pelo coletor de lixo (garbage colector) v Nomenclatura de variáveis no estilo C v Tipos são resolvidos em tempo de execução
VARIÁVEIS - COLEÇÕES Python – Uma Rápida Introdução – SITIS
2013
OPERADORES Python – Uma Rápida Introdução – SITIS 2013 Aritméticos:
v + v - v * v / v // v % v ** Lógicos: v < v > v <= v >= v == v != Booleanos: v and v or v not v is v in
VERDADEIRO, FALSO E NULO Python – Uma Rápida Introdução –
SITIS 2013 São considerados falsos: v False (false) v None (nulo) v 0 (zero) v '' (string vazia) v [] (lista vazia) v () (tupla vazia) v {} (dicionário vazio) Verdadeiro == True == 1 É considerado verdadeiro qualquer situação que não se encaixa na lista abaixo:
CONTROLE DE FLUXO - IF Python – Uma Rápida Introdução
– SITIS 2013 Sentença Sentença alternativa Todas sentenças falsas Obs.: Parênteses só são necessários para evitar ambiguidades.
LAÇOS - FOR I Python – Uma Rápida Introdução –
SITIS 2013 range(m, n, p) O for Interrompe o loop Próxima iteração Sem break
LAÇOS - FOR II Python – Uma Rápida Introdução –
SITIS 2013 >> 10 5 8 >> 1 10 2 5 3 8
LAÇOS - WHILE Python – Uma Rápida Introdução – SITIS
2013 Condição Bloco de código + break + continue + else
FUNÇÕES Python – Uma Rápida Introdução – SITIS 2013 Declaração
com a palavra reservada Parâmetros Valor padrão Todas funções retornam valor. Na ausência de return é retornado None
Créditos http://ricardoduarte.github.io/python-para-desenvolvedores/ https://wiki.python.org/moin/OrganizationsUsingPython http://www.python.org/~guido/ https://speakerdeck.com/perone/python-introducao-basica http://www.slideshare.net/ricobl/python-e-django-na-globocom Junte-se