I know Python introspection feature are powerful, what I can't seem to figure out is how to get the name of the current class.
Example:
class Foo:
def bar(self):
print(classname)
Then my output should be Foo
. Bonus points if I can get which module it resides in too.
Thanks!