Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/c/o/CombiVEP-0.1.2/combivep/cfg.py   CombiVEP(Download)
    def __init__(self):
        self.config_file = combivep_settings.COMBIVEP_CONFIGURATION_FILE
        self.config_values  = {}
        self.config_values[combivep_settings.LATEST_UCSC_DATABASE_VERSION] = '0'
        self.config_values[combivep_settings.LATEST_UCSC_FILE_NAME]        = ''
            if rec[0] == combivep_settings.LATEST_UCSC_DATABASE_VERSION:
                self.config_values[combivep_settings.LATEST_UCSC_DATABASE_VERSION] = rec[1]
            elif rec[0] == combivep_settings.LATEST_UCSC_FILE_NAME:
                self.config_values[combivep_settings.LATEST_UCSC_FILE_NAME] = rec[1]
            elif rec[0] == combivep_settings.LATEST_LJB_DATABASE_VERSION:
    def __save(self):
        f = open(self.config_file, 'w')
        f.write("%s=%s\n" % (combivep_settings.LATEST_UCSC_DATABASE_VERSION, self.config_values[combivep_settings.LATEST_UCSC_DATABASE_VERSION]))
        f.write("%s=%s\n" % (combivep_settings.LATEST_UCSC_FILE_NAME,        self.config_values[combivep_settings.LATEST_UCSC_FILE_NAME]))
        f.write("%s=%s\n" % (combivep_settings.LATEST_LJB_DATABASE_VERSION,  self.config_values[combivep_settings.LATEST_LJB_DATABASE_VERSION]))

src/c/o/CombiVEP-0.1.2/combivep/preproc/referer.py   CombiVEP(Download)
    def load_config(self):
        Configure.load_config(self)
        self.__ucsc_reader = UcscReader()
        self.__ucsc_reader.read(self.config_values[combivep_settings.LATEST_UCSC_FILE_NAME])
        self.__ljb_reader = LjbReader()