def test_faq_ipython(self):
        fLOG(__file__,
             self._testMethodName,
             OutputPrint=__name__ == "__main__")

        nbfile = os.path.abspath(os.path.dirname(__file__))
        nbfile = os.path.join(nbfile, "..", "..", "_doc", "notebooks", "1a",
                              "code_liste_tuple.ipynb")
        assert os.path.exists(nbfile)

        if __name__ == "__main__" and "travis" not in sys.executable.lower():
            s = jupyter_open_notebook(nbfile, fLOG=fLOG)
            fLOG(s)
Beispiel #2
0
    def test_faq_jupyter(self):
        fLOG(__file__,
             self._testMethodName,
             OutputPrint=__name__ == "__main__")

        data = os.path.abspath(os.path.dirname(__file__))
        nb = os.path.join(data, "exercice_lcs.ipynb")
        find_best_server(nb)
        if False:
            # does not work
            r = nb_open(nb, open_browser=False)
            fLOG(r)
            r = jupyter_open_notebook(nb)
            fLOG(r)
Beispiel #3
0
    def test_faq_ipython(self):
        fLOG(
            __file__,
            self._testMethodName,
            OutputPrint=__name__ == "__main__")

        nbfile = os.path.abspath(os.path.dirname(__file__))
        nbfile = os.path.join(
            nbfile, "..", "..", "_doc", "notebooks", "1a", "code_liste_tuple.ipynb")
        assert os.path.exists(nbfile)

        if __name__ == "__main__" and "travis" not in sys.executable.lower():
            s = jupyter_open_notebook(nbfile, fLOG=fLOG)
            fLOG(s)
Beispiel #4
0
    def test_faq_jupyter(self):
        fLOG(
            __file__,
            self._testMethodName,
            OutputPrint=__name__ == "__main__")

        data = os.path.abspath(os.path.dirname(__file__))
        nb = os.path.join(data, "exercice_lcs.ipynb")
        find_best_server(nb)
        if False:
            # does not work
            r = nb_open(nb, open_browser=False)
            fLOG(r)
            r = jupyter_open_notebook(nb)
            fLOG(r)