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
弄蛇人的程式語言入門
Search
Poren Chiang
July 15, 2014
Technology
470
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
弄蛇人的程式語言入門
2014/07/15 Workshop @ SITCON Summer Camp 2014, National Chengchi University, Taipei, Taiwan
Poren Chiang
July 15, 2014
More Decks by Poren Chiang
See All by Poren Chiang
加州高鐵到底蓋好沒?CAHSR 工程進度儀表板 / Is High-Speed Rail Completed Yet?
rschiang
0
38
為專案取名永遠是最困難的 / The Eternal Struggle of Naming a Project
rschiang
0
210
2026 g0v 零時政府年會啟動提案 / g0v Summit 2026 Kickstart
rschiang
0
690
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
200
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
250
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
240
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
190
g0v hackath52n proposal: Language Portal
rschiang
0
600
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
340
Other Decks in Technology
See All in Technology
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
880
enechainの内製セルフサービスプラットフォーム
hiyosi
0
160
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
1
230
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
160
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
140
消えない 動かない 効かない
yama3133
1
100
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
140
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
110
module Synths; end
asonas
1
130
2026_devsumi_ozono.pdf
o3
2
400
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
130
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1.6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Unsuck your backbone
ammeep
672
58k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
510
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
410
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
Abbi's Birthday
coloredviolet
3
9.9k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
Ruling the World: When Life Gets Gamed
codingconduct
0
330
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.7k
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!