Get the current function’s name Chester Wyke June 02, 2022 Updated: April 15, 2025 #python python (Series) Get the current function's name IPython Built-in magic commands pyenv String Formatting PyTorch Publish Library Frequently looked up functions Memory Running a Script Source: https://stackoverflow.com/questions/5067604/determine-function-name-from-within-that-function-without-using-traceback inspect.currentframe().f_code.co_name