byStarTW says to YSITD # coding: utf-8 import time import os print ("今天是" + time.strftime("%Y 年 %m 月 %d 日)) os.system ("pause")