master_parse/__init__.py
def generate_ipynb(self, file_out: str) -> NoReturn:
        """Generate an ipynb file based on a py IPython Notebook format.

        Note:
            IPython Noteboook py format based off of details found at:
            http://ipython.org/ipython-doc/1/interactive/nbconvert.html

        Args:
            file_out (str): The name to use when outputting the ipynb file.

        """
        import nbformat
        from nbformat.v3.nbpy import PyReader

        with codecs.open(
            file_out, "r", _file_encoding_out, errors=_file_encoding_errors
        ) as intermediate:
            nb = PyReader().read(intermediate)

        os.remove(file_out)

        with codecs.open(
            file_out, "w", _file_encoding_out, errors=_file_encoding_errors
        ) as output:
            nbformat.write(nbformat.convert(nb, 4.0), output)
Generate an ipynb file based on a py IPython Notebook format.

        Note:
            IPython Noteboook py format based off of details found at:
            http://ipython.org/ipython-doc/1/interactive/nbconvert.html

        Args:
            file_out (str): The name to use when outputting the ipynb file.

        
Generate an ipynb file based on a py IPython Notebook format.
Generate an ipynb file based on a py IPython Notebook format .
def generate_ipynb(self, file_out: str) -> NoReturn:
        import nbformat
        from nbformat.v3.nbpy import PyReader
        with codecs.open(
            file_out, "r", _file_encoding_out, errors=_file_encoding_errors
        ) as intermediate:
            nb = PyReader().read(intermediate)
        os.remove(file_out)
        with codecs.open(
            file_out, "w", _file_encoding_out, errors=_file_encoding_errors
        ) as output:
            nbformat.write(nbformat.convert(nb, 4.0), output)
def generate_ipynb ( self , file_out : str ) -> NoReturn : import nbformat from nbformat . v3 . nbpy import PyReader with codecs . open ( file_out , "r" , _file_encoding_out , errors = _file_encoding_errors ) as intermediate : nb = PyReader ( ) . read ( intermediate ) os . remove ( file_out ) with codecs . open ( file_out , "w" , _file_encoding_out , errors = _file_encoding_errors ) as output : nbformat . write ( nbformat . convert ( nb , 4.0 ) , output )
Generate an ipynb file based on a py IPython Notebook format.
Generate an ipynb file based on a py IPython Notebook format .
"""Generate an ipynb file based on a py IPython Notebook format.

        Note:
            IPython Noteboook py format based off of details found at:
            http://ipython.org/ipython-doc/1/interactive/nbconvert.html

        Args:
            file_out (str): The name to use when outputting the ipynb file.

        """
self
file_out
str
The name to use when outputting the ipynb file.
The name to use when outputting the ipynb file .