python打开需要管理员权限的exe
import os
def open_exe(file_path):
"""
打开exe 文件
:param file_path:
:return:
"""
os.chdir(os.path.join(file_path))
os.startfile(file_path)
import os
def open_exe(file_path):
"""
打开exe 文件
:param file_path:
:return:
"""
os.chdir(os.path.join(file_path))
os.startfile(file_path)