this post was submitted on 08 Nov 2024
235 points (97.2% liked)

Programmer Humor

32453 readers
888 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 days ago (1 children)

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.

[–] [email protected] 1 points 4 days ago

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)