下载spy++,很多网上提供的都是带有很多广告的,强制安装很多乱七八槽的软件游戏,这个链接是纯绿色,不用安装的版本,只有几百kb.
#!/usr/bin/python
# -*- coding: UTF-8 -*-
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common
下载BeauifulSoup解压到python安装根目录
cmd 进入这个目录运行: python setup.py install
新开cmd
from bs4 import
安装pyinstaller cmd直接进入该应用目录
通过pyinstaller生成exe
首先要知道,python安装的库文件路径
通过python导入库,可以看到和库的文件夹名字是一样的,python区分大小写
首先查看chrome的版本下载chromedriver到chrome的根目录
1,查看chrome版本 chrome://version/
2,下载对应
from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.common.action_chains impor
Use pip install requests (or pip3 install requests for python3) if you have pip installed and Pip.exe added to the Path Environment Variable. If pip is installed but not in your path you can use python -m