spiketools.utils.base.lower_list¶
- spiketools.utils.base.lower_list(lst)[source]¶
Convert all strings in a list to lowercase.
- Parameters:
- lstlist of str
A list of strings.
- Returns:
- lst
A list of string, all lowercase.
Examples
Lower a list of mixed case entries:
>>> lst = ['First', 'SECOND', 'Third'] >>> lower_list(lst) ['first', 'second', 'third']