def task1():
print(sys._getframe(0).f_code.co_filename)
print(sys._getframe(0).f_code.co_name)
C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\blog.daonelab.com\job\views.pytask2
task1
def task1():
print(sys._getframe(0).f_code.co_filename)
print(sys._getframe(0).f_code.co_name)
C:\Work\Software\eclipse-jee-2019-12-R-win32-x86_64\workspace\blog.daonelab.com\job\views.pytask2
task1