Very sweet, and ideally suited to work with Leo. On Monday, November 27, 2023 at 2:52:53 AM UTC-5 [email protected] wrote:
> Ok, it seems jupytext is the right choice. It can pair notebook with > python file. I just use Leo to handle the python files :-D Great! > > https://github.com/mwouts/jupytext#paired-notebooks > > > On Monday, November 27, 2023 at 11:21:52 AM UTC+8 HaveF HaveF wrote: > >> There used to be some support for Jupyter notebooks, but over time it >>> became clear that it didn't work well. You could read them but not >>> interact or modify them effectively. Since you can read them better in a >>> browser, the support was removed. >>> >> >> I see, Thomas. Reading the notebook is fine. But it lacks the clone >> function of leo. Since there is always some code that is generic for >> some typical analysis (but I don't have it abstracted into functions), I >> wondered if I could use Leo's clone feature to extract out the code >> separately so that the content of the code paragraphs could be synchronized >> after each change. At the moment, it seems that there is no way to solve >> this problem, and perhaps the practical way is to abstract this content >> into functions to manage it. >> >> -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/4fc55ec3-88bb-4b2f-821a-4c84ce3fd5e4n%40googlegroups.com.
