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
Eduardo
04/26/2022, 8:36 PM
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
Raffaele Olmeda
04/27/2022, 7:18 AM
We wnted ti use an .ipynb file as source, generate a .py file as product, and finally import the product in another task
i
Ido (Ploomber)
04/27/2022, 7:36 AM
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
Raffaele Olmeda
04/27/2022, 8:13 AM
1- Dimension of the file
Raffaele Olmeda
04/27/2022, 8:13 AM
2- Yes you are right of course, but in some cases is just easier to work on the source file as a .ipynb format