A much cheaper solution would be to create a list of range(20),
randomize that with shuffle and use successive elements to index the slice.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/