Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Composition of Functions solution in Creative category for Conversion from CamelCase by flpo
import re
from functools import partial
compose = lambda g, f: lambda x: g(f(x))
sub_re = partial(re.compile('(?<=.)([A-Z])').sub, r'_\1')
from_camel_case = compose(str.lower, sub_re)
March 29, 2018
Comments: