def create_welcome_client(self):
        """Create a welcome client with some instructions."""
        if self.tabwidget.count() == 0:
            welcome = open(WELCOME).read()
            client = NotebookClient(self, WELCOME, ini_message=welcome)
            self.add_tab(client)
            return client
def create_welcome_client ( self ) : if self . tabwidget . count ( ) == 0 : welcome = open ( WELCOME ) . read ( ) client = NotebookClient ( self , WELCOME , ini_message = welcome ) self . add_tab ( client ) return client
Create a welcome client with some instructions.