If you’re lazy like me, just use VS Code’s built-in tools.
Open the .py file, click the "Convert to Jupyter Notebook" button (if you have the Jupyter extension).
No code needed, but yeah, it’s not *fully* programmatic. Still, saves time if you’re doing a one-off.
Open the .py file, click the "Convert to Jupyter Notebook" button (if you have the Jupyter extension).
No code needed, but yeah, it’s not *fully* programmatic. Still, saves time if you’re doing a one-off.
