def camelcase_to_spaces(content):
 camelcase_boundry = u'(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))'
 content = re.sub(camelcase_boundry, u' \\1', content).strip()
 return u' '.join(content.split(u'_')).title()

def camelcase_to_spaces ( content ) : camelcase_boundry = u'(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))' content = re . sub ( camelcase_boundry , u' \\1' , content ) . strip ( ) return u' ' . join ( content . split ( u'_' ) ) . title ( )
translate camelcasenames to camel case names .