Merge/concatenate multiple IPython notebooks into one.
✓ Published0🌍 Public
SSamyMe
Last edited Jun 23, 2015
Created on Feb 5, 2017
This example demonstrates how to merge multiple Jupyter notebooks into a single notebook by concatenating their cells. The script reads each notebook file with `IPython.nbformat.read`, combining cells from each into a new notebook object. It then writes the merged result using `nbformat.writes`, appending the output to stdout so users can redirect it to a new file. The tool accepts notebook filenames as command-line arguments, and it updates the merged notebook’s metadata name by adding a `_merged` suffix.
AI-generated description