1. 在默认unicode情况下,tuple中不能输出中文:如图
hobby1 = u'篮球' t_h = (hobby1,) print t_h
输出:
(u'\u7bee\u7403',)
2. python 定制类
3. 元类