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

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: "To summarize, we will implement a method called ParticleSimulator.evolve_numpy and benchmark it against the pure Python version, renamed as ParticleSimulator.evolve_python"

A block of code is set as follows:

    def square(x):
return x * x

inputs = [0, 1, 2, 3, 4]
outputs = pool.map(square, inputs)

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 square(x):
return x * x

inputs = [0, 1, 2, 3, 4]
outputs = pool.map(square, inputs)

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

$ time python -c 'import pi; pi.pi_serial()' 
real 0m0.734s
user 0m0.731s
sys 0m0.004s

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: "On the right, clicking on the tab Callee Map will display a diagram of the function costs."

Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 绍兴县| 营山县| 金坛市| 邯郸县| 克山县| 浦江县| 格尔木市| 千阳县| 拜泉县| 威宁| 石门县| 灌云县| 紫金县| 广宗县| 镇赉县| 平南县| 永年县| 铜山县| 垫江县| 黄冈市| 融水| 鄂托克前旗| 玉田县| 故城县| 怀安县| 静乐县| 泽州县| 阳朔县| 渑池县| 兰溪市| 延寿县| 精河县| 长沙县| 湟源县| 五原县| 隆回县| 北京市| 三台县| 内黄县| 惠水县| 亚东县|