![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
愤斗的菜鸟
这个作者很懒,什么都没留下…
展开
-
Couldn't find a tree builder with the features you requested: html.parser.下载lxml
Couldn’t find a tree builder with the features you requested: html.parser. Do you need to install a parser library?可能1:解析器名写错了:html.parser可能2:解析器不对:将解析器换为lxml下载lxml:如果是Pycharm,直接在File | Settings |...原创 2019-11-27 20:26:23 · 3621 阅读 · 0 评论 -
Python——函数练习(包括简单递归)
Python——函数练习(包括简单递归)python排序函数list.sort( key=None, reverse=False)reverse – 排序规则,reverse = True 降序, reverse = False 升序(默认)。已知三边求三角形面积海伦公式 : p=(a+b+c)/2 S=sqrt[p(p-a)(p-b)(p-c)]输出逆序字符串...原创 2019-11-07 16:01:02 · 672 阅读 · 0 评论