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

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.
主站蜘蛛池模板: 勃利县| 奉新县| 安吉县| 安龙县| 阳春市| 颍上县| 琼结县| 莱芜市| 孝义市| 海门市| 犍为县| 灵石县| 衡东县| 花莲县| 大新县| 盈江县| 巴彦淖尔市| 栾川县| 元阳县| 吴桥县| 临湘市| 浏阳市| 申扎县| 黔西| 舞钢市| 长兴县| 高邮市| 上栗县| 绥芬河市| 汉川市| 江北区| 金坛市| 南昌县| 唐海县| 响水县| 盐山县| 甘孜县| 乐安县| 芷江| 府谷县| 栖霞市|