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

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.

主站蜘蛛池模板: 灵宝市| 柘城县| 专栏| 英吉沙县| 车致| 巴彦淖尔市| 淮滨县| 寿光市| 山东省| 辽阳县| 新田县| 安福县| 龙江县| 滦南县| 射洪县| 长沙市| 蛟河市| 仙桃市| 祁阳县| 普安县| 六枝特区| 塘沽区| 竹北市| 新巴尔虎左旗| 子洲县| 宁明县| 田东县| 威海市| 乐安县| 尚义县| 聂荣县| 东安县| 额济纳旗| 公主岭市| 乐都县| 开远市| 甘泉县| 威信县| 榆社县| 延安市| 隆化县|