import time
nt = time.time()
print(nt)
tuple_time = time.localtime(nt)
print(tuple_time)
for t in tuple_time:
print(t)
学生数据结构
[
{
"name": "李四",
"uid": 1,
"exercises": [
{
"ask": "如何创建一个子线程",
"ans": "import threading\n t=threading.Thread(target=func,args=(3,))",
"showtime":1559617441.5659707,
"score": 6
},
{
"ask": "如何创建一个子线程",
"ans": "import threading\n t=threading.Thread(target=func,args=(3,))",
"showtime":1559617441.5659707,
"score": 3
}
]
},
{
"name": "张三",
"uid": 2,
"exercises": [
{
"ask": "如何创建一个子线程",
"ans": "import threading\n t=threading.Thread(target=func,args=(3,))",
"showtime":1559617441.5659707,
"score": 3
},
{
"ask": "如何创建一个子线程",
"ans": "import threading\n t=threading.Thread(target=func,args=(3,))",
"showtime":1559617441.5659707,
"score": 3
}
]
}
]