# %% scripts are superior to Jupyter Notebooks
November 13, 2024•104 words
Jupyter notebooks, while popular as an entry to data science, have many shortcomings. The drawbacks and dangers of over-reliance on Jupyter notebooks are best summarized in this 2018 talk by Joel Grus.
The percent format for Python scripts, denoted by # %%
, is a great way to replace Jupyter notebooks. The percent format is supported by many editors, most notably VS Code. The official guide offers intuitive examples as introduction to the percent format and allows for a smooth transition from notebooks to scripts.
I have been using # %%
since 2021 after a brief few weeks in Jupyter notebooks and never looked back.