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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "This repetitive construct could be a simple while loop or any other kind of loop."

A block of code is set as follows:

    def dequeue(self):
if not self.outbound_stack:
while self.inbound_stack:
self.outbound_stack.append(self.inbound_stack.pop())
return self.outbound_stack.pop()

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 dequeue(self):
if not self.outbound_stack:
while self.inbound_stack:
self.outbound_stack.append(self.inbound_stack.pop())
return self.outbound_stack.pop()

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

% python bubble.py

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking the Next button moves you to the next screen."

Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 亳州市| 光山县| 姚安县| 长沙市| 曲沃县| 新源县| 荆门市| 新竹市| 高州市| 南汇区| 靖州| 平阴县| 永靖县| 正蓝旗| 杂多县| 遂昌县| 保康县| 封开县| 雷州市| 乐安县| 安阳市| 汕尾市| 工布江达县| 崇仁县| 平潭县| 绥化市| 内丘县| 灵台县| 阳原县| 沁水县| 高尔夫| 富宁县| 蕉岭县| 乌兰县| 上高县| 酒泉市| 黑河市| 郯城县| 伊通| 虞城县| 马鞍山市|