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

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.
主站蜘蛛池模板: 临泉县| 七台河市| 杭锦旗| 靖宇县| 方正县| 依兰县| 柳江县| 阳朔县| 建湖县| 门源| 斗六市| 波密县| 都匀市| 兰溪市| 安化县| 新源县| 东山县| 寿光市| 英山县| 丘北县| 龙南县| 土默特左旗| 成都市| 临颍县| 仪征市| 乌海市| 永宁县| 湾仔区| 佛冈县| 七台河市| 上思县| 新安县| 太原市| 新安县| 灌阳县| 万盛区| 准格尔旗| 资中县| 社会| 娱乐| 三穗县|