我如何获得我目前所在班级的名称?
例:
def get_input(class_name):
[do things]
return class_name_result
class foo():
input = get_input([class name goes here])
Run Code Online (Sandbox Code Playgroud)
由于程序的性质,我正在与(vistrails)接口,我不能__init__()用来初始化input.