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

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.

主站蜘蛛池模板: 桃江县| 乐亭县| 沾益县| 长泰县| 新兴县| 商河县| 温泉县| 曲水县| 鄯善县| 马尔康县| 乐平市| 土默特左旗| 台东县| 綦江县| 万荣县| 九龙坡区| 西乌珠穆沁旗| 沙田区| 襄樊市| 成安县| 金华市| 奉贤区| 金阳县| 浦江县| 新丰县| 白沙| 万盛区| 西青区| 涿州市| 济源市| 习水县| 靖安县| 宁陵县| 天气| 龙游县| 益阳市| 天镇县| 图片| 闻喜县| 宁波市| 汶上县|