Hi, I have experiment with Jupytext a bit over the last week.
I think it suggests using .py as the source, while notebook are served as caching the output for more nicely formatted presentation.
It also comes with the ability to sync .ipynb and py where everytime you save the notebook, it updates the script (not the reverse way, you will need to run a command to do make changes in .py reflected in notebook).
So there is really 2 approaches to work:
Use .py mainly, you can just open .py in notebook and use it like a notebook, save a .ipynb when you need to present your output.
Use .ipynb mainly, keep a .py script always sync with the notebook. The .py keep code diff more nicely.
Which approach is better in your opinion?