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
370
弄蛇人的程式語言入門
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
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
25
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
97
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
35
g0v hackath52n proposal: Language Portal
rschiang
0
320
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
210
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
270
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
130
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
120
重構黑箱社會 / Restructuring a Black Box Society
rschiang
0
510
Other Decks in Technology
See All in Technology
Functional TypeScript
naoya
7
3.3k
ビジネスとエンジニアリングを繋ぐプロダクトを中心とした組織づくりの実践
sansantech
PRO
1
120
エンジニアリングマネージャーが紐解く、事業視点から組織文化まで、包括的アプローチの探求 / READYFOR
9ma3r
14
2.3k
四国クラウドお遍路 2024 in 高知 オープニング
yukataoka
0
120
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
230
PlaywrightによるE2Eテスト入門 / Introduction to E2E Testing with Playwright
rhumie
3
1k
Practical GenAI with Go - Elastic and Golang Sydney
adriancole
0
140
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
6.8k
ロボットアームを遠隔制御の話 & LLMをつかったIoTの話もしたい
soracom
PRO
1
170
Datadog を使ったプロダクトとクラウドの セキュリティモニタリング
mrtc0
0
550
Estrategias de escalabilidade para projetos web
jessilyneh
2
190
Oracle Database Backup Service:サービス概要のご紹介
oracle4engineer
PRO
0
4k
Featured
See All Featured
5 minutes of I Can Smell Your CMS
philhawksworth
201
19k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.2k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
27
8.9k
Side Projects
sachag
451
42k
How to train your dragon (web standard)
notwaldorf
85
5.6k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
A Philosophy of Restraint
colly
202
16k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
122
18k
How to Think Like a Performance Engineer
csswizardry
15
920
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
22
1.7k
A designer walks into a library…
pauljervisheath
201
24k
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!