摘要:
某网站正常情况下一次只能显示一句俏皮话,为了多多收集俏皮话,可以利用python\来抓取。 python 抓取某网站文本内容并保存到文件: 1 import requests 2 from lxml import html 3 etree = html.etree 4 5 txt='' 6 coun 阅读全文
posted @ 2022-01-23 19:55
paoPaoLong_liu
阅读(244)
评论(0)
推荐(0)
摘要:
1 from pyecharts.charts import Bar 2 3 bar = ( 4 Bar() 5 .add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]) 6 .add_yaxis("商家A", [5, 20, 36, 10, 75, 9 阅读全文
1 from pyecharts.charts import Bar 2 3 bar = ( 4 Bar() 5 .add_xaxis(["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]) 6 .add_yaxis("商家A", [5, 20, 36, 10, 75, 9 阅读全文
posted @ 2022-01-23 13:50
paoPaoLong_liu
阅读(29)
评论(0)
推荐(0)
摘要:
仿照西瓜视频的教程完成以下二手房信息抓取,并生成柱状图的程序。 from pyecharts.charts import Bar 其中这一行是根据网上https://cloud.tencent.com/developer/article/1588507文章改写,可能是因为 pyecharts升级所致 阅读全文
posted @ 2022-01-23 12:52
paoPaoLong_liu
阅读(60)
评论(0)
推荐(0)
摘要:
def hello(name): print("Hello "+name) def bye(): print(" Program is over ") def max(a,b): if a>b: print('a',a) else: print('b',b) def change(a): print 阅读全文
posted @ 2022-01-23 11:05
paoPaoLong_liu
阅读(274)
评论(0)
推荐(0)

浙公网安备 33010602011771号