import re
mystr = 'HelloWorldToYou'
pat = re.compile(r'([A-Z][a-z]*)')
print pat.findall(mystr)
