fftools.other
¶
- fftools.other.chunks(input_list: list[Any], output_length: int) Generator[list[Any], None, None] [source]¶
get chunks of list -> list of lists.
- fftools.other.get_random_letters(count: int) str [source]¶
get a string of random letters.
- Parameters:
count (int) – count of random characters in the returned string.
- Raises:
ValueError – if count is smaller than 1.
- Returns:
the string of random letters.
- Return type:
- fftools.other.pop_dict(input_dict: dict[str, Any], keys: list[str]) dict[str, Any] [source]¶
remove keys (and value for key) from dict.
does not modify the input dict. does nothing if the keys don’t exist in the dict.