python 命令行执行exe

1、 将Google整个文件夹复制到想到移动的位置(本人移动到D:\program file\chrome\Google);

2、删去默认安装路径下的整个Google文件夹;

3、打开“cmd”,然后输入mklink /d "C:\Program Files\Google" "D:\program file\chrome\Google";

python命令行执行exe

cmd = "start D:\software\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222 --user-data-dir='D:\selenium\ChromeProfile'"
os.system(cmd)

你可能感兴趣的:(java,服务器,前端)