![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
weixin_42199478
这个作者很懒,什么都没留下…
展开
-
python 时间
import timeimport calendarclass Date(object): """当前时间操作类""" Now =None #当前时间对象 localtime =None #格式化过的当前时间 ticks =None #当前时间戳 def __init__(self): self.Now =time.localtime(time.time()) self.localti原创 2021-06-21 16:25:13 · 170 阅读 · 0 评论 -
python request 持续更新,python爬虫
python request封装,python爬虫请求类调用请求类import urllib.request as reqimport urllib.parse as parse import urllib.error as uerrimport http.cookiejar as ckjarimport chardetimport requests as reqsfrom urllib.parse import urlparse class HttpResquestBase(ob原创 2021-06-21 16:19:45 · 198 阅读 · 0 评论