← 返回列表

Python3 时间time模块 Strptime 方法

Python3 时间time模块 Strptime 方法 #!/usr/bin/python3 import time struct_time = time.strptime("30 12 2015", "%d %m %Y") print ("tuple : ", struct_time)

Python3 时间time模块 Strptime 方法

#!/usr/bin/python3
import time

struct_time = time.strptime("30 12 2015", "%d %m %Y")
print ("tuple : ", struct_time)

打开资源 ↗

交流与评论