3 """Generate random (or ordered) data for sorting.
20 p = optparse.OptionParser(usage='%prog [options] N_POINTS', epilog=__doc__)
21 p.add_option('-o', '--ordered', dest='shuffle', default=True,
22 action='store_false', help="Don't shuffle the output data.")
24 options,args = p.parse_args()
33 print '\n'.join([str(x) for x in data])