https://opensourceforu.com/2017/10/splinter-easy-way-test-web-applications/ https://splinter.readthedocs.io/en/latest/index.html https://sites.google.com/a/chromium.org/chromedriver/home 下载谷歌浏览器版本对应的 chromedriver.exe 并将其加入环境变量path中 Anaconda3 (64-bit) 打开Anaconda Prompt,运行以下命令 jupyter nbconvert --to html your_notebook_name.ipynb 可将ipynb格式文件转换为html格式 (base) C:\Users\DZL>jupyter nbconvert --to html Untitled40.ipynb [NbConvertApp] Converting notebook Untitled40.ipynb to html [NbConvertApp] Writing 361412 bytes to Untitled40.html 当我打开Jupyter Notebook(以前为IPython)时,默认为C:\Users\USERNAME 打开当前工作目录,中间有空格 (base) C:\Users\DZL>start . 或者在Jupyter Notebook开python页面中输入pwd 或者cd jupyter notebook --help-all txt = ",,,,,rrttgg.....banana....rrr" x = txt.strip(",.grt") print(x) >>> banana from selenium import webdriver # 添加驱动 driver = webdriver. Chrome ( r 'D: \c hromedriver' ) driver. get ( 'https://www.kuaikanmanhua.com/web/topic/1338/' ) #driver....