2010年6月14日 星期一

No Arms No Legs No Worries

A Man without arms and legs

Nick Vujicic


see the video for detail:
http://www.youtube.com/watch?v=yo_24_qTNac
http://www.youtube.com/watch?v=6bL3GR4iAW0

重點:
Perspective: 別人負面的觀點不一定要採信、要專注放大自己的優點
Vision: 找出自己的方向、理想
Choices: 有理想但是不要懶惰、要往對的方向邁進

2010年6月13日 星期日

encode url string in python (big5 to utf-8)

import urllib

keyword_term = '我是一隻魚'
encode_term = urllib.quote(keyword_term.decode('big5').encode('utf8'))

在winXP 中文版環境 測試
只測試過中文big5字串而已,其他語言就不確定囉~