Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
generate randomw password

        def make_password(minlength=8, maxlength=16):  
    """
       generate randomw password
    """
    length = random.randint(minlength, maxlength)
    letters = LETTERS + DIGITS 
    return ''.join([random.choice(letters) for _ in range(length)])  
        


src/g/m/gmvault-HEAD/src/gmv/credential_utils.py   gmvault(Download)
            secret = open(a_filepath).read()
        else:
            secret = gmvault_utils.make_password()
 
            fdesc = os.open(a_filepath, os.O_CREAT|os.O_WRONLY, 0600)

src/g/m/gmvault-1.8.1-beta/src/gmv/credential_utils.py   gmvault(Download)
            secret = open(a_filepath).read()
        else:
            secret = gmvault_utils.make_password()
 
            fdesc = os.open(a_filepath, os.O_CREAT|os.O_WRONLY, 0600)