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

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.

主站蜘蛛池模板: 泰宁县| 慈溪市| 南召县| 贡嘎县| 临海市| 民勤县| 蓝山县| 兴化市| 佳木斯市| 翼城县| 探索| 威宁| 施甸县| 南雄市| 德清县| 阿合奇县| 栾川县| 资中县| 张家口市| 玉山县| 兴城市| 宣恩县| 新民市| 古丈县| 旬邑县| 二连浩特市| 鸡东县| 长葛市| 陕西省| 旅游| 桃园市| 涞源县| 商都县| 七台河市| 襄城县| 武强县| 航空| 永平县| 合水县| 环江| 中宁县|