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

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: "If workon for some reason does not start your virtual environment, you can start it simply by executing source /home/mdiener/.venvs/pygeoan_cb/bin/activate from the command line."

A block of code is set as follows:

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from osgeo import ogr
shp_driver = ogr.GetDriverByName('ESRI Shapefile')
shp_dataset = shp_driver.Open(r'../geodata/schools.shp')
shp_layer = shp_dataset.GetLayer()
shp_srs = shp_layer.GetSpatialRef()
print shp_srs

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

$ sudo apt-get install python-setuptools python-pip

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: "Select Route To: and enter 2 to see the second floor options."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 黄平县| 晋州市| 岑溪市| 婺源县| 沛县| 宁蒗| 新余市| 和硕县| 河池市| 阳原县| 罗甸县| 稷山县| 全椒县| 方山县| 乌拉特后旗| 汉沽区| 平舆县| 禹州市| 苍山县| 阿克| 轮台县| 肇东市| 垣曲县| 恩平市| 大余县| 南汇区| 星子县| 自贡市| 南安市| 宣汉县| 宁强县| 轮台县| 赣榆县| 太康县| 洪雅县| 凤山市| 巴林左旗| 象州县| 都匀市| 韶山市| 资溪县|