[IronPython] IronPython & Windows Forms Part VI

Sanghyeon Seo sanxiyn at gmail.com
Fri Jun 23 03:00:45 CEST 2006


2006/6/23, Michael Foord <fuzzyman at voidspace.org.uk>:
> 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



More information about the Ironpython-users mailing list