vendredi 2 septembre 2022

set time out in python for random password

import random
import string
def randompassword():
    characters=string.ascii_lowercase+string.ascii_uppercase+string.digits+string.punctuation
    password_new = "".join(random.choice(characters) for i in range(8))
    print(password_new)
randompassword()

This is above code is used to create random passwrod . But in need refresh the code every code by using settimeout()["<-- like in Java script : )"] .So guys please help to find out




Aucun commentaire:

Enregistrer un commentaire