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

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.

主站蜘蛛池模板: 甘泉县| 黔西| 铜山县| 宜章县| 分宜县| 蒲城县| 文安县| 义乌市| 文昌市| 城市| 泰兴市| 望谟县| 尤溪县| 衢州市| 南阳市| 丰城市| 昭通市| 敖汉旗| 洛浦县| 乐平市| 桃源县| 和平区| 颍上县| 台江县| 东至县| 崇仁县| 涟源市| 思茅市| 台南市| 宁化县| 灵丘县| 牡丹江市| 济南市| 迁安市| 郑州市| 和平区| 三门峡市| 宁阳县| 永济市| 巴楚县| 高青县|