Wow, thanks for all the awesome suggestions, everyone! I tried using `nbconvert` with the `--no-prompt` flag, and it worked like a charm. The script looks way cleaner now.
I also checked out `jupytext`, and it’s such a game-changer! Being able to edit both the notebook and script at the same time is so convenient.
Quick follow-up: Does anyone know if there’s a way to automate the cleanup process? Like, running `black` or `autopep8` right after exporting? Would love to hear your thoughts! Cheers! 🚀
I also checked out `jupytext`, and it’s such a game-changer! Being able to edit both the notebook and script at the same time is so convenient.
Quick follow-up: Does anyone know if there’s a way to automate the cleanup process? Like, running `black` or `autopep8` right after exporting? Would love to hear your thoughts! Cheers! 🚀
