On Fri, Jun 17, 2005 at 07:41:17AM, Chad Crabtree wrote: > How about this. > >>> from random import choice > >>> alist=[choice(range(100)) for x in range(1000)] #just making a
How do I do this in python? alist < /tmp/logfile The logfile has the list of entries. -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor