October 2018
Beginner to intermediate
466 pages
12h 2m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."
A block of code is set as follows:
class Point: def __init__(self, x=0, y=0): self.move(x, y)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
import database db = database.Database() # Do queries on db
Any command-line input or output is written as follows:
>>> print(secret_string._SecretString__plain_string) ACME: Top Secret ...