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
暖場與 Web 相關的小玩具 @ Tainan.py 2013.09.28
Search
joe
September 28, 2013
Programming
230
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
230
開場與自我介紹 @ Tainan.py 2013.06.29
excusemejoe
0
76
Taipei.py Logo 的小故事 @ Taipei.py 2013.06.29
excusemejoe
0
270
Bottle Introduction @ Tainan.py 前微聚會
excusemejoe
1
130
PyConTW 2013 Lightning Talk: Bottle vs. Startup
excusemejoe
5
230
Tapei.py Bottle Introduction @2013.03.28
excusemejoe
2
120
Other Decks in Programming
See All in Programming
Agents on Rails - Rails at Scale 2026
irinanazarova
0
520
Java 27新機能 / Java 27 new features
kishida
2
210
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
190
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
最近”作らせてる” ローカルAIアプリの話
akit37
0
420
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
140
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
450
気持ちぃ〜角丸 Squircle
ryu1013
0
150
APNsからLive Activityを開始する話
yumnumm
0
160
sbt 2.0: takeoff
eed3si9n
0
110
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
320
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
The Curious Case for Waylosing
cassininazir
1
560
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
680
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
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 場精彩的演講 ... 小結
記得訂飲料 ...