Python模拟浏览器访问

为什么80%的码农都做不了架构师?>>>   hot3.png

xvfb-run python ./cc.py

# build LibQt4 dependencies
sudo apt-get build-dep -y libqt4-dev
# install python Qt4 library 
sudo apt-get install -y python-qt4
# x11
sudo apt-get install -y libxtst-dev xvfb x11-xkb-utils
# fonts
sudo apt-get install -y xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
sudo apt-get install -y x-ttcidfont-conf cabextract ttf-mscorefonts-installer
sudo dpkg-reconfigure --default-priority x-ttcidfont-conf
# install python-dev and pip 
sudo apt-get install -y python-dev python-setuptools python-pip
# spynner
sudo pip install spynner

转载于:https://my.oschina.net/guol/blog/898020

你可能感兴趣的:(python)