Simple Python code to generate passwords.