Subject: What's the best way to convert py to ipynb in code?
Hey everyone,
I’ve got a bunch of .py scripts and wanna convert them to .ipynb notebooks *programmatically*. Tried a few things, but nothing’s sticking.
Anyone know a reliable method to convert py to ipynb in code? Preferably something lightweight—no manual steps.
Heard about `jupytext` and `p2j`, but not sure if they’re the best fit. Any tips or scripts you’ve used?
Thanks in advance!
(Also, if you’ve got a snippet to share, that’d be awesome 👀)
Hey everyone,
I’ve got a bunch of .py scripts and wanna convert them to .ipynb notebooks *programmatically*. Tried a few things, but nothing’s sticking.
Anyone know a reliable method to convert py to ipynb in code? Preferably something lightweight—no manual steps.
Heard about `jupytext` and `p2j`, but not sure if they’re the best fit. Any tips or scripts you’ve used?
Thanks in advance!
(Also, if you’ve got a snippet to share, that’d be awesome 👀)
