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

Conventions

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

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Kivy application's entry point is customarily called main.py."

A block of code is set as follows:

from kivy.app import App

class HelloApp(App):
    pass

if __name__ == '__main__':
    HelloApp().run()

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

# In Python code
LabelBase.register(name="Roboto",
    fn_regular="Roboto-Regular.ttf",
    fn_bold="Roboto-Bold.ttf",
    fn_italic="Roboto-Italic.ttf",
    fn_bolditalic="Roboto-BoldItalic.ttf")

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

pip install -U twisted

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The first event handler is for the Start and Stop buttons."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 蒙自县| 中宁县| 平武县| 渭源县| 洪雅县| 龙游县| 西乌| 宜章县| 滦平县| 马尔康县| 金门县| 武威市| 无锡市| 中方县| 广河县| 苍南县| 原阳县| 平凉市| 巴林右旗| 得荣县| 科技| 临朐县| 九龙坡区| 潢川县| 胶州市| 峡江县| 文登市| 连平县| 沅江市| 九龙县| 哈巴河县| 昌吉市| 泰州市| 南投县| 金昌市| 陆良县| 珠海市| 宁乡县| 乌鲁木齐县| 榆树市| 丰原市|