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

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 config.py file is where the settings for each development environment exist."

A block of code is set as follows:

class TestDevelopmentConfig(TestCase):

def create_app(self):
app.config.from_object('config.DevelopmentConfig')
return app

def test_app_is_development(self):
self.assertTrue(app.config['DEBUG'] is True)

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

    @patch('views.rpc_command')
def test_sucess(self, rpc_command_mock):
"""Test to insert a News."""

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

$ docker-compose -f docker-compose.yml up --build –d

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: "The following screenshot represents the interface of DATADOG:"

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 灌云县| 克东县| 临沧市| 商洛市| 漾濞| 瑞丽市| 桦川县| 平江县| 星座| 电白县| 陕西省| 河津市| 府谷县| 枞阳县| 长沙县| 西丰县| 万盛区| 克拉玛依市| 青田县| 青铜峡市| 通江县| 通州区| 扎兰屯市| 兴安县| 峨山| 嫩江县| 龙江县| 花莲市| 苏州市| 杭州市| 锡林浩特市| 永泰县| 绥中县| 银川市| 伊宁市| 四会市| 兴和县| 沙洋县| 屯留县| 阿勒泰市| 富蕴县|