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
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
170
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
190
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
230
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
440
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
130
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
180
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
CSC307 Lecture 14
javiergs
PRO
0
450
CSC307 Lecture 15
javiergs
PRO
0
220
Unity6.3 AudioUpdate
cova8bitdots
0
110
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
120
CSC307 Lecture 12
javiergs
PRO
0
460
Featured
See All Featured
Music & Morning Musume
bryan
47
7.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
360
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
620
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
So, you think you're a good person
axbom
PRO
2
1.9k
How GitHub (no longer) Works
holman
316
140k
The Cost Of JavaScript in 2023
addyosmani
55
9.7k
30 Presentation Tips
portentint
PRO
1
250
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