How to terminate an external program in Python?

For example, I know how to run external program
import os
os.startfile('C:/Users/user/AppData/Roaming/Telegram Desktop/Telegram.exe'

And how to finish it?
June 5th 19 at 21:49
1 answer
June 5th 19 at 21:51
View this question would seem your case
How to complete the process in python?

Find more questions by tags Python