(self)
Write an nbserver-<pid>-open.html file

        This can be used to open the notebook in a browser
Write an nbserver-<pid>-open.html file
Write an nbserver - <pid > - open . html file
def write_browser_open_file(self):
        """Write an nbserver-<pid>-open.html file

        This can be used to open the notebook in a browser
        """
        # default_url contains base_url, but so does connection_url
        open_url = self.default_url[len(self.base_url):]

        with open(self.browser_open_file, 'w', encoding='utf-8') as f:
            self._write_browser_open_file(open_url, f)
def write_browser_open_file ( self ) : # default_url contains base_url, but so does connection_url open_url = self . default_url [ len ( self . base_url ) : ] with open ( self . browser_open_file , 'w' , encoding = 'utf-8' ) as f : self . _write_browser_open_file ( open_url , f )