Skip to content

Instantly share code, notes, and snippets.

View Kuaranir's full-sized avatar
:octocat:
Focusing

Alejandro Kuaranir

:octocat:
Focusing
View GitHub Profile
@DOKL57
DOKL57 / password.py
Last active April 22, 2019 12:59
Python password generator
import random
num = input('login ')
pas = ''
for x in range(16): #Number of characters in password (16)
pas = pas + random.choice(list('1234567890abcdefghigklmnopqrstuvyxwzABCDEFGHIGKLMNOPQRSTUVYXWZ')) #The characters from which the password will be composed
print('Hello, ', num, 'your password is: ', pas)