mardi 13 avril 2021

Get a new randomized number in python

maybe this is a rookie question, but how can i get a new random number everytime it repeats?

realport = random.randint(portstarts, portends)

liste = list(itertools.repeat('{}:{}:{}:{}'.format(hostname, realport, username, password), amount))

Thanks! :)




Aucun commentaire:

Enregistrer un commentaire