Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用 win32com 启动 iTunes 很容易。
try: itunes = win32com.client.GetActiveObject("iTunes.Application") except: itunes = win32com.client.Dispatch("iTunes.Application")
如何终止我启动的 iTunes?
只需调用Quit方法。
Quit
itunes.Quit()