Return to Snippet

Revision: 15368
at July 2, 2009 13:57 by gba


Initial Code
        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

Initial URL

                                

Initial Description

                                

Initial Title
randomize a list

Initial Tags
list, textmate, python

Initial Language
Other