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

  • MySQL for Python
  • Albert Lukaszewski, PhD
  • 169字
  • 2021-04-13 17:12:26

Conventions

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

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

import MySQLdb
mydb = MySQLdb.connect(host = 'localhost',
                       user = 'skipper',
                       passwd = 'mysecret',
                       db = 'fish')

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

>>> print results
((1L, 'tuna', Decimal('7.50')), (2L, 'bass', Decimal('6.75')), (3L, 'salmon', Decimal('9.50')), (4L, 'catfish', Decimal('5.00')),

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

Reference to a particular section or chapter are shown in italics.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 秭归县| 张家川| 克拉玛依市| 怀远县| 彝良县| 德令哈市| 佛学| 肇庆市| 阆中市| 微山县| 平陆县| 呼伦贝尔市| 瓦房店市| 资阳市| 新沂市| 四川省| 盐源县| 阳西县| 蚌埠市| 普兰县| 东明县| 哈尔滨市| 玛沁县| 林西县| 高唐县| 新龙县| 合肥市| 万宁市| 延安市| 太原市| 弥勒县| 黄大仙区| 松阳县| 嘉定区| 嘉兴市| 上林县| 西吉县| 紫阳县| 清涧县| 铁力市| 武穴市|