PWGen is a powerful password generator that puts password generation back into your own hands. You can choose which sets of characters you want in your password, and you can generate passwords up to 1024 characters in length.
There is also a PWGen Python script.
If you don’t want to run PWGen from source, there is a compiled Windows program in ZIP format. Just extract the ZIP, run pwgen.exe and you’ll be good to go!