While I am defining a function, how can I access the name (separately as string as well as object) of the function without explicitly naming it(hard-coding the name)? For eg. I am writing like: def abc(): #how do i access the function abc here without hard-coding the name?