ipynb/fs/finder.py
def _get_paths(self, fullname):
        """
        Generate ordered list of paths we should look for fullname module in
        """
        real_path = os.path.join(*fullname[len(self.package_prefix):].split('.'))
        for base_path in sys.path:
            if base_path == '':
                # Empty string means process's cwd
                base_path = os.getcwd()
            path = os.path.join(base_path, real_path)
            yield path + '.ipynb'
            yield path + '.py'
            yield os.path.join(path, '__init__.ipynb')
            yield os.path.join(path, '__init__.py')

        Generate ordered list of paths we should look for fullname module in
        
Generate ordered list of paths we should look for fullname module in
Generate ordered list of paths we should look for fullname module in
def _get_paths(self, fullname):
        real_path = os.path.join(*fullname[len(self.package_prefix):].split('.'))
        for base_path in sys.path:
            if base_path == '':
                base_path = os.getcwd()
            path = os.path.join(base_path, real_path)
            yield path + '.ipynb'
            yield path + '.py'
            yield os.path.join(path, '__init__.ipynb')
            yield os.path.join(path, '__init__.py')
def _get_paths ( self , fullname ) : real_path = os . path . join ( * fullname [ len ( self . package_prefix ) : ] . split ( '.' ) ) for base_path in sys . path : if base_path == '' : base_path = os . getcwd ( ) path = os . path . join ( base_path , real_path ) yield path + '.ipynb' yield path + '.py' yield os . path . join ( path , '__init__.ipynb' ) yield os . path . join ( path , '__init__.py' )
Generate ordered list of paths we should look for fullname module in
Generate ordered list of paths we should look for fullname module in
"""
        Generate ordered list of paths we should look for fullname module in
        """ # Empty string means process's cwd
self
fullname