jie1 commited on
Commit
d7a6985
1 Parent(s): 4d4f4e5

Upload tname.py

Browse files
Files changed (1) hide show
  1. tname.py +6 -0
tname.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import time
2
+
3
+
4
+ def Name():
5
+ name = time.strftime('%m-%d-%H_%M', time.localtime()) # %Y-%m-%d-%H:%M:%S 冒号会报错
6
+ return name