Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def convertFromSnakeToCamel(string):
return string[0].lower() + ''.join(x.capitalize() or '_' for x in string.split('_'))[1:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment