要使用UTF-8編碼需在程式第一行加入註解

# -*- coding: utf-8 -*-  
print "這是UTF-8"
Categories: Python