I am trying to programmatically find all Python multiline strings defined in a Jupyter notebook, and then to find and replace their contents.
Is my best option to do this to parse the notebook using nbconvert
and then to find the strings using `ast?