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: "The State class has to be changed for every application, even though the search algorithm is the same."
A block of code is set as follows:
def checkGoalState(self): """ This method checks whether the person is Jill. """ #check if the person's name is Jill return self.name == "Jill"
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
#create a dictionary with all the mappingsconnections = {}connections["Dev"] = ...