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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shuai Liu
December 06, 2014
Programming
0
74
Python-intro-1
Shuai Liu
December 06, 2014
Tweet
Share
More Decks by Shuai Liu
See All by Shuai Liu
Auto-Layout.pdf
liushuaikobe
2
130
Python-intro-2
liushuaikobe
0
79
GitRadar——毕业论文答辩
liushuaikobe
0
180
NoSQL & MongoDB
liushuaikobe
0
170
Other Decks in Programming
See All in Programming
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
550
TipKitTips
ktcryomm
0
170
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
300
Codex の「自走力」を高める
yorifuji
0
1.2k
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
730
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.1k
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
220
Fundamentals of Software Engineering In the Age of AI
therealdanvega
1
250
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
550
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
150
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
Claude Codeログ基盤の構築
giginet
PRO
7
3.3k
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
480
ラッコキーワード サービス紹介資料
rakko
1
2.6M
Typedesign – Prime Four
hannesfritz
42
3k
Writing Fast Ruby
sferik
630
63k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
970
Into the Great Unknown - MozCon
thekraken
40
2.3k
The browser strikes back
jonoalderson
0
790
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
300
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
470
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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