原创 centos7中python2.7的環境

yum 安裝 pipyum -y install pip 如果失敗則需要先安裝擴展源EPEL yum -y install epel-release 安裝後升級最新版本pip : pip install --up

原创 使用selenium+firefox做網站下載文件

環境:centos el7.x86_64系統+python2.7.5+selenium 3.13.0+geckodriver_0.21.0+firefox_60.1.0 問題:使用browser.execute_script("window