会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Calinio
博客园
首页
新随笔
联系
订阅
管理
2023年12月11日
爬虫作业
摘要: 请用requests库的get()函数访问如下一个网站20次,打印返回状态,text()内容,计算text()属性和content属性所返回网页内容的长度。 1 import requests 2 url="https://www.baidu.com/" 3 def getHTMLText(url)
阅读全文
posted @ 2023-12-11 08:47 Colindada
阅读(11)
评论(0)
推荐(0)
2023年11月20日
数码管
摘要: 数码管
阅读全文
posted @ 2023-11-20 21:57 Colindada
阅读(100)
评论(0)
推荐(0)
2023年10月31日
读书笔记chapter?2
摘要: 1 #03超市抹零 2 bill=float(input("请输入商品的总价格")) 3 print("{:.0f}".format(bill)) 1 #04成绩分差和平均值 2 import math 3 4 grade1=int(input()) 5 grade2=int(input()) 6
阅读全文
posted @ 2023-10-31 21:41 Colindada
阅读(11)
评论(0)
推荐(0)
2023年10月29日
pi的三种运算
摘要: 1 #蒙卡洛特矩中圆算概率 2 import random 3 import time 4 from tqdm import tqdm 5 6 count = 0 7 a=eval(input()) 8 random.seed(125) 9 data_iter=tqdm(range(a),unit=
阅读全文
posted @ 2023-10-29 22:42 Colindada
阅读(64)
评论(0)
推荐(0)
公告
点击右上角即可分享