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

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.

主站蜘蛛池模板: 盈江县| 井陉县| 巴中市| 华阴市| 嘉黎县| 徐州市| 英吉沙县| 仙桃市| 全椒县| 海口市| 绵竹市| 老河口市| 阳东县| 华蓥市| 长治市| 改则县| 汉川市| 武夷山市| 乌鲁木齐县| 永定县| 瑞丽市| 乐安县| 方城县| 松阳县| 乐都县| 上饶县| 伊春市| 大丰市| 稷山县| 厦门市| 宾川县| 曲水县| 轮台县| 偃师市| 治县。| 满洲里市| 合山市| 项城市| 松阳县| 寻乌县| 乐都县|