Coursera课程Python for everyone:Quiz: Reading Web Data From Python

Reading Web Data From Python

8 试题

dictionary

regular expression

file handle

socket

list

mysock.recv()

socket.socket()

mysock.close()

mysock.connect()

mysock.send()

href="(.+)"

href=".+"

http://.*

<.*>

mysock.connect()

import socket

mysock.recv()

mysock.send()

socket.socket()

Content-Type:

Document-Type:

HTML-Document:

ETag:

Metadata:

That the web site supports the HTTP GET command

That the web site only has links within the same site

That the web site returns HTML for all pages

That the web site allows scraping

It repairs and parses HTML to make it easier for a program to understand

It animates web operations to make them more attractive

It builds word clouds from web pages

It optimizes files that are retrieved many times

It allows a web site to choose an attractive skin

A list of all the anchor tags (

True if there were any anchor tags in the HTML from the URL

All of the externally linked CSS files in the HTML from the URL

All of the paragraphs of the HTML from the URL

你可能感兴趣的:(Python)