I want to be able to pause my code, open the word document and edit it, and after saving the edits and exiting the document I want to keep running the rest of the code. If I run it manually cell by cell it works, but when I run all cells at once the following cells are being run as soon as the word is open. I am not sure how to make sure the rest of the code doesn't start until I save and close the file.
import subprocess
subprocess.call(["start", my_file],shell=True)