lolcatt.utils package¶
Submodules¶
lolcatt.utils.utils module¶
- lolcatt.utils.utils.marquee(s, max_len, step_size)[source]¶
Yields a string that is max_len characters long, and shifts the string by step_size each time.
- Parameters:
s (
str
) – The string to be shiftedmax_len (
int
) – The maximum length of the stringstep_size (
int
) – The number of characters to shift the string by
- Return type:
str
- Returns:
A string that is max_len characters long and appropriately shifted