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

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.
主站蜘蛛池模板: 通山县| 铜陵市| 江北区| 西乌珠穆沁旗| 秭归县| 吴忠市| 荔浦县| 井冈山市| 绥棱县| 九台市| 云龙县| 望江县| 桃源县| 玉屏| 曲阜市| 阿克苏市| 孟州市| 大名县| 沂源县| 贡山| 富裕县| 北票市| 佛坪县| 赣州市| 红河县| 墨江| 仙居县| 腾冲县| 中阳县| 沂水县| 甘洛县| 饶阳县| 当涂县| 将乐县| 珲春市| 海城市| 丘北县| 永仁县| 武宣县| 宣城市| 房山区|