def get_linenumber(self): '''?????????''' cf = currentframe() return "run_line: file %s line %s " % (self.file_path, cf.f_back.f_back.f_lineno)