[Zope] Random Password Generator

Jerome Alet alet@librelogiciel.com
Mon, 17 Feb 2003 15:23:32 +0100


On Mon, Feb 17, 2003 at 06:17:30AM -0800, Asad Habib wrote:
> Hello. Does anyone know if there are any built-in
> Python methods which allow you to generate passwords
> randomly? Any help would be greatly appreciated.
> Thanks.

not built-in, but this may help :

--- CUT ---
import os

input = os.popen("/usr/bin/makepasswd")
clearpassword = input.read().strip()
input.close()
--- CUT ---

bye,

Jerome Alet