this post was submitted on 08 Nov 2024
226 points (97.1% liked)
Programmer Humor
32557 readers
129 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
With jupyter notebooks in a devops perspective you could just build a process to export the notebooks to standard py files and then run them.
There are actually a lot of git hooks that will actually expoet/convert .ipynb to .py files automatically since notebooks don't work great with git.
VS code can export and import from a to jupyter notebooks, but there's some kind of bug and the imported notebooks always keep a ## % on each cell (not a high deal, but is annoying because subsequent exports/imports think they are cells to be created)