October 2013
Beginner to intermediate
364 pages
8h 8m
English
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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We created a shapefile Reader object instance and set it to the variable r".
A block of code is set as follows:
>>> import math >>> x1 = 456456.23123582301 >>> y1 = 1279721.064356426 >>> x2 = 576628.34295886324 >>> y2 = 1071740.3328161312 >>> x_dist = x1 - x2 >>> y_dist = y1 - y2 >>> dist_sq = x_dist**2 + y_dist**2 >>> distance = math.sqrt(dist_sq) >>> distance 240202.6667795573
Any command-line ...
Read now
Unlock full access