官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

from urllib.request import urlopen
from urllib.error import URLError

url = 'http://example.webscraping.com'
try:
html = urlopen(url).read()
except urllib2.URLError as e:
html = None

Any command-line input or output is written as follows:

python script.py

We will occasionally show Python interpreter prompts used by the normal Python interpreter, such as:

>>> import urllib

Or the IPython interpreter, such as:

In [1]: import urllib

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".

Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 松阳县| 五常市| 勃利县| 崇州市| 曲水县| 中牟县| 会昌县| 赤水市| 南华县| 犍为县| 临夏县| 剑川县| 镇雄县| 太谷县| SHOW| 历史| 永登县| 区。| 江门市| 上杭县| 根河市| 长子县| 香河县| 景东| 绵竹市| 富锦市| 南漳县| 威信县| 东城区| 安新县| 湘阴县| 玛纳斯县| 竹溪县| 弥渡县| 湟中县| 凌源市| 临安市| 子长县| 镇原县| 临清市| 宣恩县|