随笔分类 -  python

摘要:1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # python3 4 import string 5 import urllib 6 from urllib import request 7 from bs4 import Beautiful 阅读全文
posted @ 2020-02-24 16:32 cityfckr 阅读(333) 评论(0) 推荐(0) 编辑
摘要:1。python2、3的库名不同,如果版本不同记得改。 Python2.x 有这些库名可用: urllib,urllib2,urllib3,httplib,httplib2,requests Python3.x 有这些库名可用: urllib,urllib3,httplib2,requests 2。 阅读全文
posted @ 2020-02-19 10:12 cityfckr 阅读(150) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示