I'm new to Python and I am trying to replace all uppercase-letters within a word to underscores, for example:
ThisIsAGoodExample
should become
this_is_a_good_example
Any ideas/tips/links/tutorials on how to achieve this?
Parse your string, each time you encounter an upper case letter, insert an _ before it and then switch the found character to lower case