This message was deleted.
# ask-anything
s
This message was deleted.
i
What's the use case? Usually when you consume a python file, and execute it, it's usually the same. We have an open issue on multiple formats for user products https://github.com/ploomber/ploomber/issues/673
e
the idea of having a notebook output is that the ipynb file can contain charts and tables in a standalone file. if it's a script, that isn't possible. what's the use case?
r
We wnted ti use an .ipynb file as source, generate a .py file as product, and finally import the product in another task
i
Is there a reason not to consume the product .ipynb as an input? Also what you could do is running the source as a .py and then consume it (since it’s a .py there’s no context like in notebooks so you can have a generic input).
r
1- Dimension of the file
2- Yes you are right of course, but in some cases is just easier to work on the source file as a .ipynb format
e
Ah ok. Sounds like pairing will work for you. Pairing allows you to have two sources (py and ipynb) and keep them synced https://docs.ploomber.io/en/latest/user-guide/editors.html
r
Wonderful, thanks!
👍 1