python脚本,学习一下,python命令打开某个可执行文件

import os

os.system('start "" /d "C:\Windows" "regedit.exe"')

这个功能实现打开C:\Windows下的注册表regedit.exe可执行文件。

猜你喜欢

转载自blog.csdn.net/qq_38409301/article/details/84965001