dwm/dwmscripts/genpass.py

19 lines
312 B
Python
Raw Normal View History

2024-10-31 16:38:22 +03:00
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()