« first day (2723 days earlier)      last day (643 days later) » 

Yen
9:13 PM
d=[]
b=[]
my_tuple = []
for i in range(count):
start_new = int(self.data.get(f'applicationruntime_set-{i}-start_new') or 0)
start_old = int(self.data.get(f'applicationruntime_set-{i}-start_old') or 0)
end_new = int(self.data.get(f'applicationruntime_set-{i}-end_new') or 0)
end_old = int(self.data.get(f'applicationruntime_set-{i}-end_old') or 0)
d.append((start_new,start_old))
b.append((end_new,end_old))
my_tuple.append((d[0],b[0]))
for i in my_tuple[0]:
my_result = [sub for sub in i if all(element >= 0 for element in sub)]
d=[]
b=[]
my_tuple = []
for i in range(count):
start_new = int(self.data.get(f'applicationruntime_set-{i}-start_new') or 0)
start_old = int(self.data.get(f'applicationruntime_set-{i}-start_old') or 0)
end_new = int(self.data.get(f'applicationruntime_set-{i}-end_new') or 0)
end_old = int(self.data.get(f'applicationruntime_set-{i}-end_old') or 0)
d.append((start_new,start_old))
b.append((end_new,end_old))
my_tuple.append((d[0],b[0]))
for i in my_tuple[0]:
my_result = [sub for sub in i if all(element >= 0 for element in sub)]
 
1 message moved from Python
 

« first day (2723 days earlier)      last day (643 days later) »