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

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.

主站蜘蛛池模板: 钟祥市| 大荔县| 绵竹市| 镇赉县| 饶阳县| 揭阳市| 瑞金市| 黑山县| 甘南县| 囊谦县| 河池市| 尉氏县| 汾西县| 乐都县| 修水县| 邢台县| 安平县| 靖安县| 榆中县| 宝丰县| 犍为县| 清河县| 郎溪县| 瑞丽市| 阿坝| 安庆市| 都江堰市| 乳山市| 犍为县| 防城港市| 丰台区| 武鸣县| 渭南市| 林芝县| 武定县| 禄丰县| 恩施市| 北安市| 永定县| 嘉义市| 云南省|