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

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

class foo:
    """
    Documentation of the class.
    It can be multiline and contain any amount of text
    """
    @classmethod
    def bar(self, first=0, second=0):
        """This is the documentation for the method"""
        return first + second

print(foo.bar())

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

python manage.py schemamigration south2ptvs –-initial

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Clicking on the Next button moves you to the next screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 都兰县| 特克斯县| 松桃| 萝北县| 西乌珠穆沁旗| 丽水市| 萨迦县| 南木林县| 鄂托克旗| 芦山县| 承德县| 洛宁县| 汾西县| 泗洪县| 册亨县| 临漳县| 丽水市| 孟州市| 色达县| 固原市| 杭锦后旗| 永修县| 新丰县| 邳州市| 常山县| 彭泽县| 五原县| 武汉市| 青神县| 钟山县| 吴堡县| 渑池县| 彭泽县| 富锦市| 淳安县| 崇文区| 遂宁市| 文昌市| 宣汉县| 娄烦县| 太康县|