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

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

src/n/i/ninja-ide-HEAD/ninja_ide/gui/tools_dock/find_in_files.py   ninja-ide(Download)
                file_path = file_manager.create_path(root_dir_name, file_name)
                try:
                    content = file_manager.read_file_content(file_path)
                    pattern = self._find_widget.pattern_line_edit.text()
                    flags = 0

src/n/i/ninja-ide-HEAD/ninja_ide/gui/main_panel/class_diagram.py   ninja-ide(Download)
    def create_class(self, path):
        content = file_manager.read_file_content(path)
        items = introspection.obtain_symbols(content)
        mYPadding = 10
        mXPadding = 10

src/n/i/ninja-ide-HEAD/ninja_tests/core/test_file_manager.py   ninja-ide(Download)
    def test_read_file_content(self):
        filename = os.path.join(self.examples_dir, 'file_for_tests.py')
        content = file_manager.read_file_content(filename)
        expected = ("# -*- coding: utf-8 -*-\n\nprint 'testing'\n"
                    "print 'ñandú testing'\n").encode('utf-8')