Expectations are best edited interactively in Jupyter notebooks.
To automatically generate a notebook that does this run:
Once you have made your changes and run the entire notebook you can kill the notebook by pressing Ctr-C in your terminal.
Because these notebooks are generated from an Expectation Suite, these notebooks are entirely disposable.