in python how to run file and not close file after python code finished?
for example, i try to open a excel file after code finished. But os.startfile("filename.xlsx")
will close after finished.
subprocess.Popen()
also don't work.
subprocess.call()
can keep alive but the python code not finished.