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

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.

主站蜘蛛池模板: 威宁| 文昌市| 探索| 安康市| 乌兰察布市| 利辛县| 宁强县| 澳门| 尼木县| 锦屏县| 临澧县| 武功县| 泽库县| 嘉定区| 顺义区| 额尔古纳市| 池州市| 濉溪县| 崇仁县| 定陶县| 昌宁县| 荔波县| 防城港市| 防城港市| 民丰县| 镇宁| 敦煌市| 遵义县| 遵义县| 北辰区| 亚东县| 南雄市| 贵溪市| 台湾省| 张家界市| 汤阴县| 米泉市| 犍为县| 铜山县| 德格县| 宿迁市|