January 2015
Intermediate to advanced
198 pages
4h 27m
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 are shown as follows: "If a user is already logged in, the get_current_user() method returns a User object, otherwise it returns None parameter".
A block of code is set as follows:
import webapp2
class HomePage(webapp2.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello, World!')
app = webapp2.WSGIApplication([('/', HomePage)], debug=True)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 ...
Read now
Unlock full access