包含的包:import os os.startfile("文件夹路径/文件路径") 打开指定文件夹 os.startfile("F:\XMind") 打开指定文件 os.startfile("F:\XMind\XMind.exe")