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

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: "Within the src directory is the package tree for the project."

A block of code is set as follows:

def SetNodeResource(x, y, z, r, v): n = get_node(x,y) n.z = z n.resources.add(r, v)

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

def __private_method(self, arg, *args, **kwargs):             print('%s.__private_method called:' % self.__class__.__name__)  print('+- arg ...... %s' % arg) print('+- args ..... %s' % str(args))  print('+- kwargs ... %s' % kwargs)

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

$python setup.py test

Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 广宗县| 翁源县| 鄂州市| 大余县| 连云港市| 高邑县| 安新县| 子洲县| 兴山县| 桃园市| 阜阳市| 定安县| 镇赉县| 弥渡县| 乐清市| 大同县| 香格里拉县| 西林县| 东乡族自治县| 弥勒县| 休宁县| 内江市| 临夏市| 济南市| 渭源县| 焉耆| 长子县| 凤阳县| 灵宝市| 吴堡县| 江口县| 富蕴县| 固原市| 墨玉县| 陆丰市| 宁陵县| 来安县| 藁城市| 琼中| 黄大仙区| 绥德县|