python中的如何把当前时间转换为字符串
import datetime
now_time_str = datetime.datetime.now().strftime("%Y%m%d%H%M%S") # 类似输出20190704213307
mannuan
Rome was not built in a day.
import datetime
now_time_str = datetime.datetime.now().strftime("%Y%m%d%H%M%S") # 类似输出20190704213307