dwm/dwmscripts/genpass.py

19 lines
312 B
Python

from random import choice
def main() -> None:
SIZE = 64
ALPHABET = (
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789!@#$%^&*()[]{},."
)
out = ''
for _ in range(SIZE):
out += choice(ALPHABET)
print(out)
if __name__ == '__main__':
main()