Random text generator

Magnus L. Hetland mlh at vier.idi.ntnu.no
Fri Nov 12 11:53:48 EST 1999


Richard.Jones at fulcrum.com.au (Richard Jones) writes:

> [Rico Albanese]
> > Can anyone tell me if there is a random text generator for Python?  I
> > have an application that needs to generate a random password for users.
> > I have looked at the random and whrandom modules but they seem to create
> > random numbers only.
> > 
> > Thanks in advance for any advice given
> 
>    The function you want is whrandom.choice(). See
> 

Or - rather, random.choice() (which uses whrandom.choice, if
available)... No?

--

  Magnus          Echelon jamming noise:
  Lie             FBI CIA NSA Handgun Assault Bomb Drug Terrorism
  Hetland         Special Forces Delta Force AK47 Hillary Clinton 




More information about the Python-list mailing list