#19.5.13

reptile

  • url
  • pycharm activate Speaking (CSDN Tutorial)
  • urllib2
  • Write a simple script to climb py source code.

import urllib2
response=urllib2.urlopen(‘http://www.gdppla.edu.cn/default.html’)
html=response.read()
print html

urlopen(url, data=None, proxies=None)

Create a file-like object representation of a remote url, then operating as a local file as the file-like object to acquire data remotely.

Url parameter represents remote data path, typically the URL;
parameter data indicates that the url in post submission to the data (in two ways web submission of data: post and GET);
parameter is used to set the proxy proxies.

Python Reptile description: https://blog.csdn.net/sinat_29957455/article/details/70846427

Data Structure
station b: Small turtle
MOOC: Li Bao

Guess you like

Origin blog.csdn.net/weixin_44719417/article/details/90204172