def pythonize_name(name):
 s1 = _first_cap_regex.sub('\\1_\\2', name)
 s2 = _number_cap_regex.sub('\\1_\\2', s1)
 return _end_cap_regex.sub('\\1_\\2', s2).lower()

def pythonize_name ( name ) : s1 = _first_cap_regex . sub ( '\\1_\\2' , name ) s2 = _number_cap_regex . sub ( '\\1_\\2' , s1 ) return _end_cap_regex . sub ( '\\1_\\2' , s2 ) . lower ( )
convert camel case to a "pythonic" name .