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

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.
主站蜘蛛池模板: 青岛市| 乐东| 佛山市| 威宁| 育儿| 台东县| 西丰县| 顺义区| 新乐市| 洱源县| 上饶市| 通辽市| 河西区| 慈利县| 金华市| 华池县| 开远市| 临颍县| 秀山| 青阳县| 嘉义市| 长汀县| 遵义县| 高邮市| 古蔺县| 湘西| 黄山市| 施秉县| 涟水县| 永仁县| 丰原市| 庐江县| 晴隆县| 越西县| 德令哈市| 新巴尔虎左旗| 怀柔区| 丰都县| 普格县| 广水市| 汝南县|