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-intro-1
Search
Shuai Liu
December 06, 2014
Programming
99
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
150
Python-intro-2
liushuaikobe
0
98
GitRadar——毕业论文答辩
liushuaikobe
0
260
NoSQL & MongoDB
liushuaikobe
0
230
Other Decks in Programming
See All in Programming
Distance field of Julia set
kinakomoti321
0
160
ActionController meets Protocol Buffers
sorah
1
780
Modernizing iOS Apps
seyfoyun
0
150
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
280
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
280
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.4k
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
120
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
880
AI-Powered Domain-Driven Design
ziobrando
0
390
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.7k
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
Raft: Consensus for Rubyists
vanstee
143
7.9k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
500
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
430
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Discover your Explorer Soul
emna__ayadi
2
1.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Claude Code のすすめ
schroneko
67
230k
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