9 Jupyter Notebook Tricks for Your Next Advent of Code
summary
Shows concrete Jupyter techniques with actual results: use the help popup with ? and ? wildcard to find functions, auto-run code from an IPython startup file to pre-import modules, run shell commands with ! to inspect files, persist variables with %store magic and inspect with %whos, debug postmortem with %debug or auto‑enter with %pdb*, create a pastebin from selected cells, and speed up slow brute‑force code by adding numba jit to drop a 4.5s run to 0.3s then 0.003s.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:00Documentation
- 1:12ReModule
- 1:31wildcard search
- 1:49find function
- 2:19execute code
- 2:33shell commands
- 2:52startup folder
- 3:02echo command
- 4:12store magic
- 4:34list variables
- 4:59who and whose
- 5:23debug magic
- 5:34debugging
- 6:04automatically start debugger
- 6:29paste bin
- 6:55jit decorator
- 8:14Outro
related talks
39mClean Code in Jupyter notebooks, using Python
49mBest tools for Jupyter notebooks
01h 00mInteractive Computing with Jupyter: Past, Present, and Future
24mJupyter Notebooks for Ops
27mAdding interactivity by extending Jupyter Notebook
34mPython ate my Homework!
29mOh no! I think my project is outgrowing my Jupyter notebook. How do I survive?
19mDecorators for Data Science
