Jupytext: Jupyter notebooks as Python scripts
1–10 of 42 posts
Re: Jupytext: Jupyter notebooks as Python scripts
#2Re: Jupytext: Jupyter notebooks as Python scripts
#3Re: Jupytext: Jupyter notebooks as Python scripts
#4Re: Jupytext: Jupyter notebooks as Python scripts
#5Now, they just need to adapt jupyter itself so that it reads the python files directly, dispensing with the need of the silly ipynb!
Re: Jupytext: Jupyter notebooks as Python scripts
#6Can someone provide me a usecase for this when compared to executing jupyter straight into VSCode/Atom with vscodeJupyter/Hydrogen?
Re: Jupytext: Jupyter notebooks as Python scripts
#7Could this be the answer to "I don't like notebooks" [0]? Or does calling scripts from within a notebook still do horrible things to the managed state? [0] https://news.ycombinator.com/item?id=17856700
Re: Jupytext: Jupyter notebooks as Python scripts
#8Could this be the answer to "I don't like notebooks" [0]? Or does calling scripts from within a notebook still do horrible things to the managed state? [0] https://news.ycombinator.com/item?id=17856700
I've never thought this criticism was that relevant. Notebooks have been incredibly successful, and if it's possible to call your code in the wrong order and create a mess, it's probably a problem with your code not your coding environment. The more functional your code, the less of a problem jupyter notebooks are. They encourage better code not worse imo.
Even as a relatively experienced developer, I've found it hard to reason about what exactly it is that Jupyter is doing under the hood; basically things will break in weird ways, and rerunning everything will mysteriously fix it, or I have to use hacks to force it to re-import certain modules in order to get things the way I expect.
Basically, it ends up being easier to just manage this myself, like doing the processing and pickling the result, then using other, standalone notebooks to load and render the pickle. But this shouldn't be necessary.
Re: Jupytext: Jupyter notebooks as Python scripts
#9Personally, I totally want that functionality but don't want to mess with running jupyter kernels or using my browser to work in my notebook. So where is my markdown with embedded code WYSIWYG editor that saves into plain text files? ;-)