<human>:  How to get a function name as a string in Python?
<bot>: Here is some code to get a name of function `my_function` as a string

my_function.__name__

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