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
220
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
暖場與 Web 相關的小玩具 @ Tainan.py 2013.09.28
歡迎加入 Tainan.py:
http://www.meetup.com/Tainan-py-Python-Tainan-User-Group/
joe
September 28, 2013
More Decks by joe
See All by joe
pytest 還有他的快樂夥伴
excusemejoe
2
220
開場與自我介紹 @ Tainan.py 2013.06.29
excusemejoe
0
70
Taipei.py Logo 的小故事 @ Taipei.py 2013.06.29
excusemejoe
0
230
Bottle Introduction @ Tainan.py 前微聚會
excusemejoe
1
110
PyConTW 2013 Lightning Talk: Bottle vs. Startup
excusemejoe
5
220
Tapei.py Bottle Introduction @2013.03.28
excusemejoe
2
110
Other Decks in Programming
See All in Programming
AIエージェントで 変わるAndroid開発環境
takahirom
1
210
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
240
A2UI という光を覗いてみる
satohjohn
1
170
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
380
1B+ /day規模のログを管理する技術
broadleaf
0
120
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
0
140
OS アップデート対応の取り組み方がもっと共有されてほしい
andpad
0
110
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
260
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
140
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
1k
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
210
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.7k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.6k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Prompt Engineering for Job Search
mfonobong
0
360
Marketing to machines
jonoalderson
1
5.5k
We Are The Robots
honzajavorek
0
270
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
170
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
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 場精彩的演講 ... 小結
記得訂飲料 ...