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

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: "We will use two libraries that are part of the Python distribution for working with XML and JSON: xml.etree.ElementTree and json."

A block of code is set as follows:

   @property
   def parsed_data(self): 
       return self.data 

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

   @property
   def parsed_data(self): 
       return self.data

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

>>> python3 factory_method.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."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Book references follow the format [Author, page]. For example, the reference [GOF95, page 10] refers to the 10th page of the GOF (Design Patterns: Elements of Reusable Object-Oriented Software) book. At the end of the book, there is a section devoted to all book references.

Web references follow the format [j.mp/shortened]. These are shortened URL addresses that you can type or copy/paste into your web browser and be redirected to the real (usually longer and sometimes uglier) web reference. For example, typing j.mp/idiompyt in you web browser's address bar should redirect you to http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html.

主站蜘蛛池模板: 济南市| 玉溪市| 建宁县| 洛扎县| 潞西市| 华坪县| 常山县| 丰原市| 修文县| 西吉县| 石狮市| 土默特左旗| 阿尔山市| 湖州市| 泗阳县| 上林县| 和田县| 昌都县| 电白县| 鸡东县| 中超| 涟水县| 潢川县| 凤凰县| 苗栗县| 闵行区| 遵化市| 玛多县| 马边| 庆元县| 临颍县| 通化县| 大连市| 山东| 忻城县| 海安县| 萨嘎县| 田林县| 图木舒克市| 晋城| 巴塘县|