News for hackers. Stuff that matters.
Re:Jupyter Notebooks as E2E Tests by pplonski86 on Wednesday December 18, 2024 @10:12AM (#42451062)
Mixing code, markdown and execution results in one output file gives Jupyter notebooks superpower. You can really have anything in the ipynb file, stored in JSON. I wish there was two types of ipynb files, one for file with just code and markdown (for example ipynbc), and one for keeping code+markdown+results.

BTW, sometime ago I wrote an article about surprising things that you can build with Jupyter notebook https://mljar.com/blog/how-to-use-jupyter-notebook/ You will find in the list: blog, book, website, web app, dashboards, REST API, even full packages :)

Re:Jupyter Notebooks as E2E Tests by armanboyaci on Wednesday December 18, 2024 @10:32AM (#42451255)
> I wish there was two types of ipynb files, one for file with just code and markdown (for example ipynbc), and one for keeping code+markdown+results.

I believe you can achieve that if you use jupytext library, right?