2006/6/23, Michael Foord <[EMAIL PROTECTED]>:
> As always comments and corrections (and screenshots) appreciated :

I'd use random.randrange(256) instead of int(random.random() * 256).
It doesn't matter in this case though. randrange can compensate when
underlying random number generator doesn't return enough random bits.

Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to