Random Functions¶ betterfunctions.randomfunctions.generate_password(length=12, include_special=True)¶ Generates a random password with the given length. Parameters: length (int) – The length of the password. Defaults to 12. include_special (bool) – Should special characters be included? Defaults to True Return type: str betterfunctions.randomfunctions.random_choice(items)¶ Chooses a random element from a list. Parameters: items (list) – The list including the elements. Returns: random choice, class depends on the list. betterfunctions.randomfunctions.random_color()¶ Generates a random hex-color. Return type: str betterfunctions.randomfunctions.shuffle_list(items)¶ Shuffles a list randomly. Parameters: items (list) – The list with the items. Return type: list