I have a notebook with 25+ worksheets which calculate parameters for shaped NMR pulses. I use an attached .sage file which does most of the calculation. I have updated the .sage file and would like to update the calculations for each worksheet. I would like to automate the following:
- Open a worksheet
- Delete all output
- Evaluate all cells
- Save the worksheet
- Close the worksheet
From looking through the documentation it is not how to do this or if it is possible. Any advice on how to do this would greatly appreciated.