def __init__(self): self.instName = '' self.courseName = '' self.place = '' self.type = '' self.time = Time() self.length = '' self.groupNum = '' self.periodType = ''
print(e) count = 0 print(state, stage) czy = True czy2 = 0 czy3 = True for stat in state: if stat[1] != "A": czy = False if stat[1] == "S": czy2 += 1 if stat[7] != "@": czy3 = False if stat[1] == " " and stage == 1: stage = 2 time_start = Time(round(time() * 100)) if czy: if stage == 0: stage = 1 # print(czy2)(czy2) if czy2 > len(stacks) - 2 and stage == 2: czy = True for x in range(len(state)): if state[x][2:7] != latest_state[x][2:7] or state[x][7] == "@": print(state[x]) czy = False # print('siema') if czy: stage = 3 act_time = time_start.difference_from_timestamp(time()) print(act_time)