def dashCapitalize(s):
    return '-'.join([ x.capitalize() for x in s.split('-')])
Capitalize a string, making sure to treat - as a word seperator
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/sip.py/dashCapitalize