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

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: "The sqrt(x) function returns the √x."

A block of code is set as follows:

def print_funct(arg):
    print(arg)
    if __name__ == "__main__":
        import sys
        print_funct(sys.argv[1])

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

>>> import random
>>> random.randint(0, 1000)
607

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 example, during the creation of this book, this author had a problem creating a PDF copy of the Tutorial, because an error kept occurring when converting the EPS images to PDF images."

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 嘉禾县| 个旧市| 石门县| 松江区| 富锦市| 七台河市| 灌云县| 泰顺县| 双辽市| 巴楚县| 珠海市| 三门峡市| 蚌埠市| 土默特右旗| 临猗县| 德钦县| 永城市| 龙泉市| 葵青区| 漯河市| 祥云县| 宁津县| 武胜县| 繁峙县| 滕州市| 英山县| 柳林县| 贡嘎县| 阿巴嘎旗| 西林县| 昔阳县| 安图县| 来安县| 英山县| 大新县| 扬中市| 蒙城县| 商水县| 萨嘎县| 黎平县| 瑞昌市|