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

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.
主站蜘蛛池模板: 阿巴嘎旗| 三明市| 泸西县| 来安县| 扎赉特旗| 屯昌县| 岳西县| 肥乡县| 旬邑县| 徐汇区| 曲靖市| 额济纳旗| 二手房| 广饶县| 新化县| 二连浩特市| 和政县| 阳信县| 黄骅市| 平顶山市| 乌恰县| 荔波县| 科技| 金昌市| 晴隆县| 嵩明县| 永修县| 天台县| 陈巴尔虎旗| 汉寿县| 潜江市| 潜山县| 工布江达县| 屏东县| 精河县| 娄底市| 涿州市| 盐源县| 黑龙江省| 隆子县| 屯昌县|