Runcell posts tagged “reference”
ipynb vs py: What Breaks When a Notebook Becomes a Script (Tested Matrix)
Twelve notebook constructs, converted with nbconvert and jupytext, each run under python and ipython: which ones crash, which ones exit 0 having silently done nothing, the plain-Python replacement for each, and what a re-run does to your git diff in .ipynb vs .py.Read More →
PyInstaller vs Nuitka vs cx_Freeze: A Measured Packaging Benchmark (Build Time, Size, Launch Time)
Three probe scripts (stdlib, pandas, matplotlib) built five ways — PyInstaller onedir and onefile, Nuitka standalone and onefile, cx_Freeze — then launched six times each, on macOS. Onefile builds cost 3–36 seconds on every launch, PyInstaller's matplotlib builds rebuild the font cache each run, and Nuitka's folder builds take 5–10× longer than PyInstaller's without a smaller folder for the pandas and matplotlib scripts.Read More →
Jupyter to PDF: A Measured Fidelity Benchmark of nbconvert's Three Export Paths
Nine probe notebooks, three export paths, twenty-seven conversion attempts, and a count of what actually survives into each PDF. The LaTeX route keeps every column of a wide DataFrame and drops four of eight Unicode strings; the browser routes do the reverse, and clip a long source line as well.Read More →
ModuleNotFoundError in Jupyter: A Reproduced Kernel Failure Matrix
The package imports in your terminal and fails in the notebook. Four virtual environments, nine notebook runs, and the one line of jupyter_client source that decides which Python your kernel actually runs — with the audit script that answers it for your machine.Read More →
nbconvert PDF Export Errors: A Complete Troubleshooting Reference
The common nbconvert PDF export errors, each with real terminal output, the actual cause, and a fix. Covers PandocMissing, xelatex not found, missing .sty files, webpdf/Playwright, and kernel errors.Read More →
What Is .ipynb_checkpoints? Deleting It, and the Git Commands That Actually Untrack It
What Jupyter's .ipynb_checkpoints folders are, whether it is safe to delete them, and why adding them to .gitignore does not untrack the ones you already committed - with a throwaway repository showing exactly what each untracking command does to your index.Read More →