源代码
import datetime x = datetime.datetime.now() print(x.strftime("%%"))
运行结果