Is there a way to close application/program on windows via Python

Hi, I'm curious about is there a way to close application on Windows by coding via Python? As far as I know, we can use os to open the path or application directly but I couldn't find the way to close the application by coding from Python yet. Is it possible to do that or not? Please help, thank you