<human>:  get a list of locally installed Python modules
<bot>: Here is some code to get a list of locally installed Python modules

help('modules')

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