person_list = []
my_list = []
c=[]
for i in Me.objects.filter(changdi=1):
person_list.append([i.time])
for arry in person_list:
my_list.extend(arry)
values = ",".join(map(str, my_list))
my =list(values)
for a in my:
c.extend(a)
b = [round(float(x[0])) for x in c]
# a = [[1L], [2L]]
时间: 2024-10-15 14:56:04