def __init__(self):
        """
        Initialize notebook.
        """

        self.long_name = 'pynb v{} running {} on Python v{}.{}.{}'.format(__version__, self.__class__.__name__,
                                                                          *sys.version_info[:3])

        self.parser = argparse.ArgumentParser(description=self.long_name)
        self.nb = nbf.v4.new_notebook()
        self.nb['cells'] = []
        self.cells_name = None
        self.args = None
def __init__ ( self ) : self . long_name = 'pynb v{} running {} on Python v{}.{}.{}' . format ( __version__ , self . __class__ . __name__ , * sys . version_info [ : 3 ] ) self . parser = argparse . ArgumentParser ( description = self . long_name ) self . nb = nbf . v4 . new_notebook ( ) self . nb [ 'cells' ] = [ ] self . cells_name = None self . args = None
Initialize notebook.