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
Python-intro-1
Search
Shuai Liu
December 06, 2014
Programming
83
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python-intro-1
Shuai Liu
December 06, 2014
More Decks by Shuai Liu
See All by Shuai Liu
Auto-Layout.pdf
liushuaikobe
2
140
Python-intro-2
liushuaikobe
0
85
GitRadar——毕业论文答辩
liushuaikobe
0
210
NoSQL & MongoDB
liushuaikobe
0
190
Other Decks in Programming
See All in Programming
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
260
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
680
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.6k
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.1k
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
340
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
11
4.1k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
2k
Lessons from Spec-Driven Development
simas
PRO
0
200
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
340
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
170
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
250
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
160
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
590
How to train your dragon (web standard)
notwaldorf
97
6.7k
The Language of Interfaces
destraynor
162
27k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
370
Transcript
Intro to Python by Shuai Liu
agenda • History & Basics • Advanced & Be Pythonic
• Awesome Python Frameworks
History & Basics
“I wrote Python.” ——Guido van Rossum
What’s Python? • Dynamic, strongly typed script language • Object
Oriented & Procedure Oriented & Functional • Open source • Simple & Beautiful & Fast high-level interpreted script
What I could do with Python?
None
Who uses Python?
None
Let’s touch it slightly… • Whitespace (Tab? No!) • A
combination of reference counting and a cycle- detecting garbage collector • 2.x vs. 3.x • >>> import this
When we learning a language… s, e, q, u, e,
n, c, e { “map”: “” } “String” 28.53 function() if else for/while class
After that, you can use a language like C
variable • number: int & float & bool • string
• …
Let’s see dynamic… dynamic
None
some powerful built-in functions • type • str • int
• float
None
Sequence • string • list • tuple
built-in functions • len • enumerate • zip
Something more…
Slice • [ : ] • [ : : ]
dict
built-in functions • dict.update(dict2) • dict.keys() • dict.fromkeys(seq, val=None)
function
branch & loop
Thanks