How do I get the string with name of a class? April 22, 2023 by Tarik In [1]: class Test: ...: pass ...: In [2]: Test.__name__ Out[2]: 'Test'