Random text generator

Fredrik Lundh fredrik at pythonware.com
Sat Nov 13 12:55:17 CET 1999


Magnus L. Hetland <mlh at vier.idi.ntnu.no> wrote:
> >    The function you want is whrandom.choice(). See
> 
> Or - rather, random.choice() (which uses whrandom.choice, if
> available)... No?

it would probably be a bit clearer (at least to newcomers)
if "random" is was the official interface, and whrandom was
treated as an implementation module.  but it doesn't look
that way in the current version of the library reference...

(and the eff-bot guide is obviously wrong on this one. not
sure I'll add that to the errata, though ;-)

</F>





More information about the Python-list mailing list