human
How to change folder names in python?
assistant
Here is some code to rename a folder `Joe Blow` to `Blow, Joe`

os.rename('Joe Blow', 'Blow, Joe')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.