Command-line password generator written in Python