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
暖場與 Web 相關的小玩具 @ Tainan.py 2013.09.28
Search
joe
September 28, 2013
Programming
1
190
暖場與 Web 相關的小玩具 @ Tainan.py 2013.09.28
歡迎加入 Tainan.py:
http://www.meetup.com/Tainan-py-Python-Tainan-User-Group/
joe
September 28, 2013
Tweet
Share
More Decks by joe
See All by joe
pytest 還有他的快樂夥伴
excusemejoe
2
200
開場與自我介紹 @ Tainan.py 2013.06.29
excusemejoe
0
63
Taipei.py Logo 的小故事 @ Taipei.py 2013.06.29
excusemejoe
0
200
Bottle Introduction @ Tainan.py 前微聚會
excusemejoe
1
100
PyConTW 2013 Lightning Talk: Bottle vs. Startup
excusemejoe
5
190
Tapei.py Bottle Introduction @2013.03.28
excusemejoe
2
100
Other Decks in Programming
See All in Programming
CSC509 Lecture 05
javiergs
PRO
0
300
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
220
CSC509 Lecture 06
javiergs
PRO
0
260
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
120
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
110
Flutterで分数(Fraction)を表示する方法
koukimiura
0
130
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
9
1.7k
Devoxx BE - Local Development in the AI Era
kdubois
0
130
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
170
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
510
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
1k
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
4k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Documentation Writing (for coders)
carmenintech
75
5.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Speed Design
sergeychernyshev
32
1.2k
Faster Mobile Websites
deanohume
310
31k
Building an army of robots
kneath
306
46k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Designing Experiences People Love
moore
142
24k
Balancing Empowerment & Direction
lara
4
690
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Side Projects
sachag
455
43k
Transcript
九月份聚會 X
None
None
Tainan.py 現況 • 從 Taipei.py fork 出來的聚會 • 這是第三次與 MOSUT
社群合辦 • 關係圖: Open source Python
Tainan.py 現況 • 之後聚會場地以成大、南大為主 • 不定期舉辦微聚(餐)會 @ Isrlab
__doc__ • Joe: 開場 / 小聊一下與 Web 相關的小玩具 • Kilik
Kuo: • Thread safety about Python's object • 用 Python 實作 OSX/WIN 的 dual monitor information query 及 URL EntryCache 的探訪與移除 • Liao Wen Satoshi: 使用 Linux/C 組裝軟體的心得 • 中場休息喝飲料 • 陳伯綸: RoBoard Lab 的實習經驗 • 閃電秀 / 工商服務時間 • Descent: 5 分鐘 git 就上手 - 不可能
None
五分鐘 Web 就上手 - 不可能 Joe @Tainan.py 2013.9.28 Web 相關的小玩具
通常情況
你一定常常用 Web
你不一定常寫 Web 也不一定想寫 Web ...
但是 ... 上司可能會請你寫 Web ... 你只好一定要寫 Web ... (吧?)
在此介紹一些玩具給大家參考 用 Python 寫 Web 很方便的! 我要寫兩倍的 Code
玩具一:Python 本身 內建 Http Server
1. 取得 2. 撰寫 3. 執行: python demo_1.py
Ref.
玩具二:Bottle 微框架
1. 取得 2. 撰寫 3. 執行: python demo_2.py pip install
bottle
Ref. Dynamic Routes Static Files Error pages Redirect Status code
Headers Cookies Templates Plugins Mount request /
玩具三:requests Http for humans
1. 取得 2. 撰寫 3. 執行: python demo_3.py pip install
requests
Ref.
玩具四:pyquery jquery-like library
1. 取得 2. 分析 3. 執行: python demo_4.py pip install
pyquery yum install python-lxml
Ref.
玩具五:webtest 沒測過的程式不能用
1. 取得 2. 撰寫 3. 執行: python demo_5.py pip install
webtest pytest
Ref.
暖場完畢,接下來進行 N 場精彩的演講 ... 小結
記得訂飲料 ...