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

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.
主站蜘蛛池模板: 封丘县| 崇州市| 嘉黎县| 搜索| 抚宁县| 沽源县| 张家口市| 延寿县| 宁化县| 牡丹江市| 多伦县| 朝阳区| 田阳县| 新沂市| 常熟市| 申扎县| 屯昌县| 广州市| 江西省| 凉城县| 阆中市| 岳西县| 普陀区| 旬阳县| 苏尼特右旗| 故城县| 万年县| 台中县| 宜州市| 曲水县| 山西省| 云和县| 井冈山市| 衡阳市| 麻栗坡县| 兰坪| 寿阳县| 西乌珠穆沁旗| 奉化市| 高安市| 遂昌县|