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

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.

主站蜘蛛池模板: 搜索| 磐石市| 宜昌市| 益阳市| 大悟县| 阳西县| 射洪县| 临洮县| 嘉善县| 云阳县| 名山县| 乌拉特前旗| 天门市| 泸西县| 大竹县| SHOW| 屯昌县| 留坝县| 扶余县| 涡阳县| 贵州省| 泽州县| 报价| 扬中市| 同心县| 乌拉特前旗| 龙山县| 故城县| 柘城县| 临夏县| 广灵县| 钟祥市| 于都县| 安丘市| 青浦区| 大理市| 鹰潭市| 孟津县| 尼勒克县| 稻城县| 罗甸县|