Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(30)  |  Call(30)  |  Derive(0)  |  Import(0)

src/u/l/ulipad-HEAD/mixins/InputAssistant.py   ulipad(Download)
        else:
            obj = DUMY_CLASS()
            obj.ini = dict4ini.DictIni(filename, encoding='utf-8', onelevel=True)
            obj.filename = filename
            obj.ftime = os.path.getmtime(filename)

src/u/l/ulipad-HEAD/plugins/svn_plugin/SvnSettings.py   ulipad(Download)
                servers = os.path.join(path, 'servers')
                if os.path.exists(config) and os.path.exists(servers):
                    ini = dict4ini.DictIni(config, normal=True)
                    ini.miscellany['global-ignores'] = v['svn_global_ignores']
                    ini.save()
                    ini = dict4ini.DictIni(servers, normal=True)
                servers = os.path.join(path, 'servers')
                if os.path.exists(config) and os.path.exists(servers):
                    ini = dict4ini.DictIni(config, normal=True)
                    v['svn_global_ignores'] = ini.miscellany.get('global-ignores', GLOBAL_IGNORES)
                    ini = dict4ini.DictIni(servers, normal=True)
            servers = os.path.join(path, 'servers')
            if os.path.exists(config) and os.path.exists(servers):
                ini = dict4ini.DictIni(config, normal=True)
                v = ini.miscellany.get('global-ignores', GLOBAL_IGNORES)
    return v

src/u/l/ulipad-HEAD/plugins/wizard/WizardPanel.py   ulipad(Download)
    def _addNode(self, root, wizfile):
        from modules import dict4ini
 
        x = dict4ini.DictIni(wizfile, encoding='utf-8')
        obj = self.tree.AppendItem(root, x.options.name)

src/u/l/ulipad-HEAD/modules/common.py   ulipad(Download)
def getProjectName(filename):
    path = getProjectHome(filename)
    #found _project
    from modules import dict4ini
    ini = dict4ini.DictIni(os.path.normpath(os.path.join(path, '_project')))
def getCurrentPathProjectName(filename):
    path = getCurrentPathProjectHome(filename)
    #found _project
    from modules import dict4ini
    ini = dict4ini.DictIni(os.path.join(os.path.join(path, '_project')))
#    if not _config_ini:
    from modules import dict4ini
    _config_ini = dict4ini.DictIni(get_config_file(), *args, **kwargs)
 
    return _config_ini

src/u/l/ulipad-HEAD/acp/jquery/jquery.py   ulipad(Download)
def get_newest_ini():
    global _ini
    if _fmtime and _ini:
        if _fmtime < os.path.getmtime(_ini_filename):
            _ini = dict4ini.DictIni(_ini_filename)
    else:
        _ini = dict4ini.DictIni(_ini_filename)

src/u/l/ulipad-HEAD/acp/javascript/import.py   ulipad(Download)
def get_newest_ini():
    global _ini
    if _fmtime and _ini:
        if _fmtime < os.path.getmtime(_ini_filename):
            _ini = dict4ini.DictIni(_ini_filename)
    else:
        _ini = dict4ini.DictIni(_ini_filename)

src/u/l/ulipad-HEAD/mixins/DirBrowser.py   ulipad(Download)
        name = []
        if os.path.exists(proj_file):
            ini = dict4ini.DictIni(proj_file)
            name = ini.default.get('projectname', [])
        dialog = [
            filename = self.get_node_filename(item)
            proj_file = os.path.join(filename, '_project')
            ini = dict4ini.DictIni(proj_file)
            ini.default.projectname = values['project_name']
            self.callplugin('remove_project', ini, list(set(name) - set(values['project_name'])))

src/u/l/ulipad-HEAD/mixins/Import.py   ulipad(Download)
    for lexer in win.mainframe.lexers.lexobjs:
        prjfile = common.getProjectFile(filename)
        ini = dict4ini.DictIni(prjfile)
        ext = os.path.splitext(filename)[1]
        lexname = ini.highlight[ext]
 
    prjfile = common.getProjectFile(filename)
    ini = dict4ini.DictIni(prjfile)
    ext = os.path.splitext(filename)[1]
 
    if prjfile:
        path = os.path.dirname(prjfile)
        ini = dict4ini.DictIni(prjfile)
        s = []
        for c in ini.ctags.values():

src/u/l/ulipad-HEAD/mixins/LexerBase.py   ulipad(Download)
    def load(self):
        if self.stxfile and os.path.exists(self.stxfile):
            from modules import dict4ini
            ini = dict4ini.DictIni(self.stxfile)
 
    def save(self):
        if self.stxfile:
            from  modules import dict4ini
            ini = dict4ini.DictIni(self.stxfile)
 

src/u/l/ulipad-HEAD/plugins/docbook/editor_ext.py   ulipad(Download)
def OnDocbookEnclose(editor):
    #find the docbook.acp file
    docbookini = common.getConfigPathFile('docbook_xml.ini')
    from modules import dict4ini
    x = dict4ini.DictIni(docbookini)

  1 | 2  Next