byStarTW says to YSITD
# coding: utf-8 import locale locale.setlocale(locale.LC_CTYPE, 'chinese') import time import os count = 0 for count (1,20,1): print ("現在是 " + time.strftime("%Y 年 %m 月 %d 日 %H 時 %M 分 %S 秒")) time.sleep (1) if os.name == "nt": os.system('cls') else: os.system('clear') print ("結束")