A Python script to generate all possible combinations of passwords from a given set of words or characters.