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
100
暖場與 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
190
開場與自我介紹 @ Tainan.py 2013.06.29
excusemejoe
0
50
Taipei.py Logo 的小故事 @ Taipei.py 2013.06.29
excusemejoe
0
120
Bottle Introduction @ Tainan.py 前微聚會
excusemejoe
1
79
PyConTW 2013 Lightning Talk: Bottle vs. Startup
excusemejoe
5
150
Tapei.py Bottle Introduction @2013.03.28
excusemejoe
2
81
Other Decks in Programming
See All in Programming
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
180
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
930
Java 22 Overview
kishida
1
180
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
210
Tailwind CSSを本気でカスタマイズする方法
fsubal
13
5.2k
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
"config" ってなんだ? / What is "config"?
okashoi
0
240
Elm 0.19.0 Changes
bkuhlmann
0
490
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Code Reviewing Like a Champion
maltzj
514
39k
Documentation Writing (for coders)
carmenintech
60
3.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Infographics Made Easy
chrislema
238
18k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Designing the Hi-DPI Web
ddemaree
276
33k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
Unsuck your backbone
ammeep
663
57k
In The Pink: A Labor of Love
frogandcode
138
21k
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 場精彩的演講 ... 小結
記得訂飲料 ...