12 月 212020
 
import time  # 使用时间模块


filename = str(int(time.time())) + ".py"  # 使用时间戳命名对象,拼接文件名

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)