def GeneratePassphrase(length=20):
 valid_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
 valid_chars += '0123456789 ,-_&$#'
 return ''.join((random.choice(valid_chars) for i in range(length)))

def GeneratePassphrase ( length = 20 ) : valid_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' valid_chars += '0123456789 ,-_&$#' return '' . join ( ( random . choice ( valid_chars ) for i in range ( length ) ) )
create a 20 char passphrase with easily typeable chars .