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
弄蛇人的程式語言入門
Search
Poren Chiang
July 15, 2014
Technology
2
420
弄蛇人的程式語言入門
2014/07/15 Workshop @ SITCON Summer Camp 2014, National Chengchi University, Taipei, Taiwan
Poren Chiang
July 15, 2014
Tweet
Share
More Decks by Poren Chiang
See All by Poren Chiang
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
89
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
130
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
140
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
89
g0v hackath52n proposal: Language Portal
rschiang
0
420
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
260
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
400
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
200
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
180
Other Decks in Technology
See All in Technology
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
2
390
Definition of Done
kawaguti
PRO
6
460
ハノーバーメッセ2025座談会.pdf
iotcomjpadmin
0
150
A2Aのクライアントを自作する
rynsuke
1
150
エンジニア向け技術スタック情報
kauche
0
110
監視のこれまでとこれから/sakura monitoring seminar 2025
fujiwara3
10
2.9k
AIエージェント最前線! Amazon Bedrock、Amazon Q、そしてMCPを使いこなそう
minorun365
PRO
10
4k
AI技術トレンド勉強会 #1MCPの基礎と実務での応用
nisei_k
1
240
Amplifyとゼロからはじめた AIコーディング 成果と展望
mkdev10
1
360
Snowflake Summit 2025 データエンジニアリング関連新機能紹介 / Snowflake Summit 2025 What's New about Data Engineering
tiltmax3
0
230
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
130
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全
opelab
9
2.2k
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
The Invisible Side of Design
smashingmag
299
51k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
We Have a Design System, Now What?
morganepeng
52
7.6k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Facilitating Awesome Meetings
lara
54
6.4k
Code Review Best Practice
trishagee
68
18k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Rails Girls Zürich Keynote
gr2m
94
14k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Practical Orchestrator
shlominoach
188
11k
Transcript
ශ⣹̍ḑ⁰⯅⭚ӧ㉊ RSChiang @ SITCON Summer Camp 2014 H O W
T O T R A I N Y O U R P Y T H O N
ߐ㡦ዅ RSChiang • 112 ୪㋁ • SITCON / COSCUP ⵈⶦ
• Python ჿࢼ • You can reach me at http://poren.tw
⁰ḑ༦⏯
民法 158 條 要約定有承諾期限者,⾮非於其期限 內為承諾,失其拘束⼒力。︒。 ⬉≜.send() try: ါⰊ = ⬉≜.wait()
except TimeoutException: ⬉≜ = null ቒ୕ ⁰
Python
Beautiful is better than ugly. Explicit is better than implicit.
Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts.
#include <iostream> using namespace std; ! int main(int argc, char*
argv) { cout << “Hi SITCON!”; return 0; } print(“Hi SITCON!”) C++ Python
None
string a = “ݙ”; string b = “”; for (int
i = 1; i <= 5; i++) { b += a; } cout << b; print(“ݙ” * 5) C++ Python
for (int i = 1; i <= 5; i++) {
cout << “#” << i << “\n”; } for i in range(5): print(“#” + str(i)) C++ Python
captains = [‘Takeshi’, ‘ୖ⭘’, ‘EAT’, ‘┧㕕’] for captain in captains:
print(‘Captain ’ + captain) print(len(captains))
speakers = [‘Allen’, ‘Bob’, ‘RS’, ‘⒀㐷’] for i, speaker in
enumerate(speakers): print(‘#{0} - {1}’.format(i, speaker)) print(len(captains))
Live Examples
reduce( lambda a, b: a or b, [ x %
i == 0 for i in range( 2, int(x ** 0.5 + 1) ) ] )
Thanks!