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

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.
主站蜘蛛池模板: 泰州市| 罗源县| 墨江| 淮南市| 确山县| 栾川县| 平南县| 普兰县| 从化市| 老河口市| 宜昌市| 淮阳县| 田阳县| 当涂县| 嫩江县| 阳曲县| 盐城市| 临安市| 龙泉市| 湘西| 喜德县| 封丘县| 乌拉特后旗| 策勒县| 巫溪县| 兴安盟| 宁陕县| 金门县| 奎屯市| 广饶县| 策勒县| 宝清县| 双柏县| 晋中市| 襄樊市| 当阳市| 红原县| 新竹市| 怀来县| 绩溪县| 上栗县|