(self)
Open a module in an editor window when double clicked.
Open a module in an editor window when double clicked.
Open a module in an editor window when double clicked .
def OnDoubleClick(self):
        "Open a module in an editor window when double clicked."
        if os.path.normcase(self.file[-3:]) != ".py":
            return
        if not os.path.exists(self.file):
            return
        file_open(self.file)
def OnDoubleClick ( self ) : if os . path . normcase ( self . file [ - 3 : ] ) != ".py" : return if not os . path . exists ( self . file ) : return file_open ( self . file )