Yesterday, I realised that I have never shared any gist on github. Since it’s about time to start, I did it with the very first script that I wrote today.
I adapted two scripts contributed to StackOverflow and created a new script that converts the keys of nested Python dictionaries to a different naming convention. These are the scripts that I used:
-
How to recursively replace the keys of a Python dictionary, which I modified to do the same with nested dictionaries that contain lists
And this is the result: