Paul Rubin wrote:

> Why is everyone using shuffle?

maybe they're all stuck on 2.2 ?

$ python2.2
>>> import random
>>> random.shuffle
<bound method Random.shuffle of <random.Random instance at 0x815b13c>>
>>> random.sample
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'sample'
>>>

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to