[IronPython] IronPython & Windows Forms Part VI
sanxiyn at gmail.com
Thu Jun 22 18:00:45 PDT 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.
More information about the users