/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if out_of_order_events: randomized_logfile_lines = [] while len(logfile_lines): randomized_logfile_lines.append(logfile_lines.pop(random.randrange(0,len(logfile_lines)))) logfile_lines = randomized_logfile_lines