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

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Python has other statements, such as global or nonlocal, which modify the rules for variables in a particular namespace."

A block of code is set as follows:

s = 0 
for n in range(1, 10): 
    if n % 3 == 0 or n % 5 == 0: 
        s += n 
print(s) 

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

s = 0 
for n in range(1, 10): 
    if n % 3 == 0 or n % 5 == 0: 
        s += n 
print(s) 

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

$ pip install pillow beautifulsoup4 PyMonad

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "For our purposes, we will distinguish between only two of the many paradigms: functional programming and imperative programming."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 康保县| 遵义县| 麦盖提县| 黄山市| 吉木乃县| 仪陇县| 汤阴县| 新化县| 吴堡县| 阿克陶县| 龙江县| 吴川市| 皮山县| 无锡市| 德兴市| 梓潼县| 临潭县| 客服| 霍林郭勒市| 始兴县| 兴仁县| 怀来县| 浦城县| 漠河县| 定兴县| 巴彦县| 明水县| 沙湾县| 连平县| 靖安县| 闻喜县| 乳源| 嘉黎县| 随州市| 呼伦贝尔市| 永胜县| 阿拉善左旗| 桦甸市| 凌海市| 保康县| 正镶白旗|