爬取指定标签List下评分8.5分以上的图书信息,包括书名、作者、评分、简介,并保存到excel,以标签分类,放到不同的sheet中。
核心代码:title=book.find_element_by_xpath('.//a[1]').text#获取书名zuozhe=book.find_element_by_xpath('.//div[1]').text.split('/',1)[0]jianjie=book.find_element_by_xpath('.//p[1]').text#获取简介worksheet.write(i,0,fenshu);#分数写入第i行的第一列worksheet.write(i,1,title);#书名写入第i行的第二列worksheet.write(i,2,zuozhe);#作者写入第i行的第三列worksheet.write(i,3,jianjie);#简介写入第i行的第四列
2025/9/2 5:16:26 3KB 豆瓣爬虫 Python selenium
1
QGISPythonProgrammingCookbook-SecondEditionbyJoelLawheadEnglish|14Mar.2017|ASIN:B01MRP7T3B|464Pages|AZW3|9.26MBMasterover170recipesthatwillhelpyouturnQGISfromadesktopGIStoolintoapowerfulautomatedgeospatialframeworkAboutThisBookDelveintotheundocumentedfeaturesoftheQGISAPIGetasetofuser-friendlyrecipesthatcanautomateentiregeospatialworkflowsbyconnectingPythonGISbuildingblocksintocomprehensiveprocessesThisbookhasacompletecodeupgradetoQGIS2.18and30new,valuablerecipesWhoThisBookIsForThisbookisforgeospatialanalystswhowanttolearnmoreaboutautomatingeverydayGIStasksaswellasprogrammersresponsibleforbuildingGISapplications.Theshort,reusablerecipesmakeconceptseasytounderstandandcombinesoyoucanbuildlargerapplicationsthatareeasytomaintain.WhatYouWillLearnUsePythonandQGIStoproducecaptivatingGISvisualizationsandbuildcomplexmaplayoutsFindouthowtoeffectivelyusethepoorly-documentedandundocumentedfeaturesoftheQGISPythonAPIAutomateentiregeospatialworkflowsbyconnectingPythonGISbuildingblocksintocomprehensiveprocessesCreate,import,andeditgeospatialdataondiskorin-memoryChangeQGISsettingsprogrammaticallytocontroldefaultbehaviorAutomaticallygeneratePDFmapbooksBuilddynamicformsforfieldinputInDetailQGISisadesktopgeographicinformationsystemthatfacilitatesdataviewing,editing,andanalysis.Pairedwiththemostefficientscriptinglanguage—Python,wecanwriteeffectivescriptsthatextendthecorefunctionalityofQGIS.BasedonversionQGIS2.18,thisbookwillteachyouhowtowritePythoncodethatworkswithspatialdatatoautomategeoprocessingtasksinQGIS.Itwillcovertopicssuchasqueryingandeditingvectordataandusingrasterdata.Youwillalsolearntocreate,edit,andoptimizeavectorlayerforfasterqueries,reprojectavectorlayer,reducethenumberofverticesinavectorlayerwithoutlosingcriticaldata,andconvertarastertoavector.Followingthis,youwillworkthroughrecipesthatwillhelpyoucomposestaticmaps,createheavilycustomizedmaps,andaddspecializedlabelsandannotations.Aswellasthis,we'llalsoshareafewtipsandtricksbasedondifferentaspectsofQGIS.StyleandapproachThisbookfollowsarecipe-basedproblem-solutionapproachtoaddressanddispelchallengesfacedwhenimplementingandusingQGISonaregularbasis.
2025/9/1 7:49:02 9.26MB QGIS Python
1
Python入门教程完整版(懂中文就能学会)资料。
01Linux基础02Python基础
2025/8/31 12:06:44 34.28MB Python 面向对象 零基础
1
对文本进行聚类,文本预处理-->构造特征向量-->聚类,压缩包内含有实验用语料
2025/8/31 3:16:28 685KB 5.1
1
本书一共包含16章的内容,涉及四大模块,分别是Python基础储备、Python数据运算与整理、Python数据可视化和Python数据挖掘理论与实战。
在招聘平台上搜索数据分析或挖掘岗时,绝大多数的招聘方都要求应聘者掌握Python、R语言、SAS或SPSS等统计分析工具,尤其是开源的Python和R语言,如果你对她们并不是很了解,那也许你无法胜任这样的岗位。
本书的初衷就是站在数据分析与挖掘的岗位,将Python中基本而重要的内容呈现给大家,使零基础的朋友可以按部就班地掌握数据分析与挖掘的操作流程,使有经验的朋友可以进一步地提升数据分析与挖掘的实操技能。
2025/8/30 6:48:22 41.02MB Python
1
本书适合初学python的人使用,通俗易懂,适合新手使用
2025/8/29 18:09:08 9.86MB python 编程
1
机器学习完全课程
2025/8/29 17:02:06 4KB Python开发-机器学习
1
针对的是网上下载的OpenCV3.xwithPythonByExample2ndEditionPDF文件,采用Python和PyPDF2编程,去除该PDF上的文字水印。
去除水印的方法随着采用的加水印的方法不同而不同,所采用的方法对于去除一些指定的PDF有用,而对别的可能就是根本用不了。
本例程仅供业余时间的时间有效耗散
2025/8/28 21:37:39 3KB PDF Python PyPDF2
1
基于Python的人工智能美颜系统,代码说明见:https://blog.csdn.net/m0_38106923/article/details/93338522
2025/8/28 17:50:03 68.95MB Python语言 人工智能美颜系统
1
python中实现了matlab中二维数据内插值interp2的方法。
大家可以看一下。
2025/8/27 14:13:30 3KB matlab python interp2
1
共 1000 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡