April 2018
Intermediate to advanced
260 pages
6h 31m
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: "To test this, we need to set the timeout of the divide function to 4 seconds and put a time.sleep(3) in the middle of the application code."
A block of code is set as follows:
def divide(event, context): params = event.get('queryStringParameters') or {} numerator = int(params.get('numerator', 10)) denominator = int(params.get('denominator', 2)) body = { "message": "Results of %s / %s = %s" % ( numerator, denominator, numerator // denominator, ) } response = { "statusCode": ...Read now
Unlock full access