Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def textRouter::TextRouter::loadInStrings (   self,
  stringsFile = "strings.txt" 
)

Loads in the strings (prompts, help messages) from the strings file.

Definition at line 2417 of file textRouter.py.

02417                                                         :
        """Loads in the strings (prompts, help messages) from the strings file."""
        try:
            self.strs = util.readAndEvalFile(stringsFile)
        except IOError, e:
            result = dialog.messageDialog(self, \
                                       "Error:  The strings file containing the user prompts and messages could not be found.\nThis file is needed to run the program.  Please find the file and restart",
                                       "Strings File Error", wx.ICON_ERROR | wx.OK)
            sys.exit(1)


    def loadInConfig(self, configFile = "textRouter.conf"):


Generated by  Doxygen 1.6.0   Back to index