标签: python windows
使用subprocess我想打开Windows文件资源管理器。然后等待1秒钟并关闭它:
subprocess
import subprocess, time subprocess.Popen(r'explorer /select,"D:\tmp\temp"') time.sleep(1)
如何关闭文件资源管理器?