(self)
return filename
Produce a reasonable default.
Produce a reasonable default.
Produce a reasonable default .
def defaultFile(self):
        """Produce a reasonable default."""
        filename = self.curframe.f_code.co_filename
        if filename == '<string>' and self.mainpyfile:
            filename = self.mainpyfile
        return filename
def defaultFile ( self ) : filename = self . curframe . f_code . co_filename if filename == '<string>' and self . mainpyfile : filename = self . mainpyfile return filename