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

All Samples(7)  |  Call(6)  |  Derive(0)  |  Import(1)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/explorer/nproject.py   ninja-ide(Download)
    def __init__(self, path):
        super(NProject, self).__init__()
        project = json_manager.read_ninja_project(path)
 
        self.path = path

src/n/i/ninja-ide-HEAD/ninja_ide/gui/explorer/tabs/tree_projects_widget.py   ninja-ide(Download)
    def save_recent_projects(self, folder):
        settings = IDE.data_settings()
        recent_project_list = settings.value('recentProjects', {})
        #if already exist on the list update the date time
        projectProperties = json_manager.read_ninja_project(folder)

src/n/i/ninja-ide-HEAD/ninja_ide/tools/ui_tools.py   ninja-ide(Download)
    def _thread_open_project(self):
        try:
            project = json_manager.read_ninja_project(self._folder_path)
            extensions = project.get('supported-extensions',
                settings.SUPPORTED_EXTENSIONS)

src/n/i/ninja-ide-HEAD/ninja_tests/tools/jsonmanager/test_ninja_project.py   ninja-ide(Download)
 
from ninja_ide.tools.json_manager import read_ninja_plugin
from ninja_ide.tools.json_manager import read_ninja_project
from ninja_ide.tools.json_manager import create_ninja_project
 
        structure = dict(foo='bar')
 
        structure = read_ninja_project(path)
        self.assertEqual(structure, dict())
 
        structure = dict(foo='bar')
        create_ninja_project(path, project, structure)
        structure = read_ninja_project(path)
            fp.write('frula\n')
 
        structure = read_ninja_project(path)
        assert structure == dict()