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

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.

主站蜘蛛池模板: 石景山区| 岫岩| 南昌市| 淮安市| 浮梁县| 寿阳县| 阿勒泰市| 新兴县| 桐庐县| 瑞丽市| 阳原县| 庆阳市| 宁武县| 平果县| 中宁县| 瑞昌市| 巫溪县| 阿图什市| 浠水县| 江口县| 连南| 建平县| 海林市| 绥德县| 稻城县| 娄烦县| 昆山市| 昌乐县| 富阳市| 阿拉善盟| 双鸭山市| 太仓市| 广饶县| 吉水县| 巴林右旗| 南平市| 铁力市| 宁强县| 拜城县| 青州市| 崇信县|