<human>:  Getting a list of all subdirectories in the current directory
<bot>: Here is some code to getting a list of all subdirectories in the directory `directory`

os.walk(directory)

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